X-alias updated.

master
Kolan Sh 2014-10-18 15:08:18 +04:00
parent 3414a005ed
commit ac454500ab
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,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 ..'