Alises "x", "xt" without nohup.

This commit is contained in:
Kolan Sh 2020-07-27 19:01:54 +03:00
parent 132edbb3e0
commit 00030aa002
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ alias nohup='nohup > /dev/null $1'
alias k='killall' alias k='killall'
which sudo &>/dev/null && alias sk='sudo killall' which sudo &>/dev/null && alias sk='sudo killall'
FGCONSOLE=`fgconsole 2>/dev/null` FGCONSOLE=`fgconsole 2>/dev/null`
[ ! -z $FGCONSOLE ] && alias x="exec nohup xinit -- :$FGCONSOLE -nolisten tcp vt$FGCONSOLE &>/dev/null" [ ! -z $FGCONSOLE ] && alias x="exec xinit -- :$FGCONSOLE -nolisten tcp vt$FGCONSOLE &>/dev/null"
[ ! -z $FGCONSOLE ] && alias xt="exec nohup xinit urxvt -- :$FGCONSOLE -nolisten tcp vt$FGCONSOLE &>/dev/null" [ ! -z $FGCONSOLE ] && alias xt="exec xinit urxvt -- :$FGCONSOLE -nolisten tcp vt$FGCONSOLE &>/dev/null"
# autofixing # autofixing
alias cd..='cd ..' alias cd..='cd ..'