Made the "s" alias better
This commit is contained in:
parent
da7ddfffb2
commit
2950c3df5c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user