diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2013-03-08 00:19:45 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2013-03-08 00:19:45 +0100 |
commit | abecfc77354158b856b3e31ab46afab00be7135d (patch) | |
tree | 030ebeb4d00f056c521d640a67b27cd2df83d6a3 | |
parent | conf: add Makefile to deploy configurations (diff) | |
download | laurent-tools-abecfc77354158b856b3e31ab46afab00be7135d.tar.xz laurent-tools-abecfc77354158b856b3e31ab46afab00be7135d.zip |
conf/bashrc: tweak now()
-rw-r--r-- | conf/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |