echo -> printf
This commit is contained in:
parent
d3d907d057
commit
c01feef76b
1 changed files with 3 additions and 3 deletions
6
shellrc
6
shellrc
|
@ -39,8 +39,8 @@ alias pacman='command pacman --color=auto'
|
||||||
alias rscreen='command screen -Dr'
|
alias rscreen='command screen -Dr'
|
||||||
alias atmux='command tmux attach'
|
alias atmux='command tmux attach'
|
||||||
alias hist='fc -l 1'
|
alias hist='fc -l 1'
|
||||||
alias beep='echo -en "\007"'
|
alias beep='printf "\007"'
|
||||||
alias fixterm='echo "c"'
|
alias fixterm='printf "c"'
|
||||||
|
|
||||||
# iconv
|
# iconv
|
||||||
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
||||||
|
@ -328,7 +328,7 @@ else
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ traps
|
# {{{ traps
|
||||||
# we want to see exit code on error (it also has to be the last entry here)
|
# we want to see exit code on error (it also has to be the last entry here)
|
||||||
trap 'echo -e "\e[0mbash: exit \e[1;37m$?\e[0m"' ERR
|
trap 'printf "\e[0m>> exit \e[1;37m%s\e[0m\n" $?' ERR
|
||||||
# }}}
|
# }}}
|
||||||
fi
|
fi
|
||||||
# {{{ source extras
|
# {{{ source extras
|
||||||
|
|
Loading…
Reference in a new issue