X-alias updated.

This commit is contained in:
Kolan Sh 2014-10-18 15:08:20 +04:00
parent 7192ae3d55
commit 4d90d703d0
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ alias du='du --human-readable --total'
alias nohup='nohup > /dev/null $1'
alias k='killall'
which sudo &>/dev/null && alias sk='sudo killall'
alias x="exec sh -c \"(/usr/bin/nohup xinit -- -nolisten tcp vt`fgconsole 2>/dev/null` &>/dev/null)&\""
FGCONSOLE=`fgconsole 2>/dev/null`
[ ! -z $FGCONSOLE ] && alias x="exec nohup xinit -- -nolisten tcp vt$FGCONSOLE &>/dev/null"
# autofixing
alias cd..='cd ..'