Fixed spawn function

This commit is contained in:
Thomas Muller 2021-12-03 16:24:38 -05:00
parent 46f9c65b93
commit 438c8d5570

10
.bashrc
View file

@ -34,15 +34,15 @@ alias fixdirectories='find . -type d -exec chmod 755 {} \;'
alias fixfiles='find . -type f -exec chmod 644 {} \;' alias fixfiles='find . -type f -exec chmod 644 {} \;'
alias reload_wallpaper="xwallpaper --stretch .config/wallpaper.png" alias reload_wallpaper="xwallpaper --stretch .config/wallpaper.png"
alias stealyt='youtube-dl "`xclip -o | sed s/\&.*$//`"' alias stealyt='youtube-dl "`xclip -o | sed s/\&.*$//`"'
spawn() { nohup $1 </dev/null >/dev/null 2>&1 & } spawn() { nohup $@ </dev/null >/dev/null 2>&1 & }
# ----[Docker Machine and PS1]---- # ----[Docker Machine and PS1]----
source /usr/share/bash-completion/completions/docker-machine-prompt #source /usr/share/bash-completion/completions/docker-machine-prompt
source /usr/share/bash-completion/completions/docker-machine-wrapper #source /usr/share/bash-completion/completions/docker-machine-wrapper
PS1='[\u@\h \W] $(__docker_machine_ps1 " [%s]")\$ ' # PS1='[\u@\h \W] $(__docker_machine_ps1 " [%s]")\$ '
# PS1='[\e[0;32m\u@\h \W\e[m] $(__docker_machine_ps1 " [%s]")\$ ' # PS1='[\e[0;32m\u@\h \W\e[m] $(__docker_machine_ps1 " [%s]")\$ '
# PS1='[\u@\h \W]\$ ' PS1='[\u@\h \W]\$ '
# PS1='[\u@cock-and-ball-torture-(_)_)----D~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \W] $(__docker_machine_ps1 " [%s]")\$ ' # PS1='[\u@cock-and-ball-torture-(_)_)----D~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \W] $(__docker_machine_ps1 " [%s]")\$ '
# ----[SSH Agent]---- # ----[SSH Agent]----