Ver Fonte

tm is now a function that ignores program output

Taddeus Kroes há 11 anos atrás
pai
commit
7ce90bdb19
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      bashrc

+ 4 - 1
bashrc

@@ -89,7 +89,10 @@ alias mvv='mosh mv -p 8215 -- screen -Uxr'
 alias cdhere='cd $(realpath $(pwd))'
 alias ocaml='rlwrap ocaml'
 alias c='xclip -i -selection clipboard'
-alias tm='`which time` -f "real: %e"'
+
+function tm () {
+    `which time` -f %e $* > /dev/null
+}
 
 # Add an "alert" alias for long running commands.  Use like so:
 #   sleep 10; alert