Explorar o código

tm is now a function that ignores program output

Taddeus Kroes %!s(int64=11) %!d(string=hai) anos
pai
achega
7ce90bdb19
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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