よく,発行したコマンドが,時間的にどのぐらいかかったのか知りたくなる時がありませんか? # ない?じゃあ,いいです… そういう時は,もう一度やり直して, % time xxxcmd とかやってたんですが, zsh なら, % history -D で,そのコマンドにかかった時間を表示することができるようです.便利っー!
% history -D 33389 0:00 /usr/bin/emacs -nw 33390 0:00 /usr/bin/emacs -nw 33391 0:00 fg 33392 0:00 ls 33393 0:00 history -D 33394 0:00 ls 33395 0:00 ls 33396 0:00 cd down 33397 0:00 cd Downloads 33398 0:00 ls 33399 0:00 cd httpd-2.2.14 33400 0:00 cd .. 33401 0:00 ls 33402 0:00 cd httpd-2.2.14 33403 0:00 ls 33404 0:57 ./configure && make