# HG changeset patch # User Jeff Hammel # Date 1368783097 25200 # Node ID a6cd6900419e7c8b335bae9682c4ebc0b88ded82 # Parent 6095d439d1f2e304241d40ac17eda803a2524a1f whview and whemacs use realwhich diff -r 6095d439d1f2 -r a6cd6900419e .bashrc --- a/.bashrc Thu May 16 23:27:18 2013 -0700 +++ b/.bashrc Fri May 17 02:31:37 2013 -0700 @@ -283,16 +283,6 @@ ### `which` commands -whview() { - # which view - less `which $@` -} - -whemacs() { - # which emacs - emacs -nw `which $@` -} - realwhich() { # which -> real paths command which $@ | while read line @@ -301,6 +291,16 @@ done } +whview() { + # which view + less `realwhich $@` +} + +whemacs() { + # which emacs + emacs -nw `realwhich $@` +} + ### functions for python pyfile() {