1
0
Fork 0

echo -> printf

This commit is contained in:
Von Random 2015-02-20 18:40:15 +03:00
parent d3d907d057
commit c01feef76b

View file

@ -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