From abecfc77354158b856b3e31ab46afab00be7135d Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Fri, 8 Mar 2013 00:19:45 +0100 Subject: conf/bashrc: tweak now() --- conf/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/bashrc b/conf/bashrc index 87f34d7..1569bf0 100644 --- a/conf/bashrc +++ b/conf/bashrc @@ -70,7 +70,7 @@ alias usee='vim ~/perso/USEFULL_COMMANDS' alias xbindkeys-reload="pkill xbindkeys; xbindkeys" alias tn='tmux new-session -s' alias ta='tmux attach' -function now() { while read line; do echo -ne "`date ${1:++"$1"}` $line\n"; done } +function now() { while read line; do echo -e "`date ${1:++"$1"}` $line"; done } function htod() { echo "ibase=16; $1" | bc; } function dtoh() { echo "obase=16; $1" | bc; } -- cgit v1.2.3-59-g8ed1b