Alises "x", "xt" without nohup.
This commit is contained in:
parent
372e471159
commit
59c8d686b2
4
alias.sh
4
alias.sh
@ -35,8 +35,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 ..'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user