From c01feef76b2c84ab1cdd3177e18514e16e87fa44 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 20 Feb 2015 18:40:15 +0300 Subject: [PATCH] echo -> printf --- shellrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shellrc b/shellrc index 56c5619..3ce6217 100644 --- a/shellrc +++ b/shellrc @@ -39,8 +39,8 @@ alias pacman='command pacman --color=auto' alias rscreen='command screen -Dr' alias atmux='command tmux attach' alias hist='fc -l 1' -alias beep='echo -en "\007"' -alias fixterm='echo "c"' +alias beep='printf "\007"' +alias fixterm='printf "c"' # iconv alias iconvwk='command iconv -c -f cp1251 -t koi8-r' @@ -328,7 +328,7 @@ else # }}} # {{{ traps # 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 # {{{ source extras