Made the "s" alias better

This commit is contained in:
Brad Ganley 2023-10-17 13:43:35 -05:00
parent da7ddfffb2
commit 2950c3df5c

View File

@ -95,7 +95,7 @@ alias sysup='sudo systemctl enable --now'
alias sysdn='sudo systemctl disable --now' alias sysdn='sudo systemctl disable --now'
#opens specified command in new window in screen session #opens specified command in new window in screen session
alias s='screen -X screen ' alias s='screen -ls > /dev/null && screen -X screen || screen'
# Resume screen or create a new one named main # Resume screen or create a new one named main
alias scr='screen -r || screen -S main' alias scr='screen -r || screen -S main'
# press enter to continue. Occasionally useful # press enter to continue. Occasionally useful