From 46f9c65b936ffaf8f67914630eafda4092e10184 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 3 Dec 2021 16:20:29 -0500 Subject: [PATCH] Added spawn macro and t alias t spawns a new st window and detatches it --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 464a8c7..55edcd0 100644 --- a/.bashrc +++ b/.bashrc @@ -25,6 +25,7 @@ alias make="make -j$(nproc)" alias rm="rm -I" alias sl="sl | lolcat" alias vim="nvim" +alias t="spawn st" # ----[Macros]---- alias clean_packages="sudo pacman -Rsn $(pacman -Qdtq)" @@ -33,6 +34,7 @@ alias fixdirectories='find . -type d -exec chmod 755 {} \;' alias fixfiles='find . -type f -exec chmod 644 {} \;' alias reload_wallpaper="xwallpaper --stretch .config/wallpaper.png" alias stealyt='youtube-dl "`xclip -o | sed s/\&.*$//`"' +spawn() { nohup $1 /dev/null 2>&1 & } # ----[Docker Machine and PS1]---- source /usr/share/bash-completion/completions/docker-machine-prompt