Moving which to type -P, so 'which ls', 'which time', ... work.

svn path=/nixos/trunk/; revision=24862
This commit is contained in:
Lluís Batlle i Rossell 2010-11-26 09:57:38 +00:00
parent 636307c62b
commit bef46f1553

View File

@ -68,7 +68,7 @@ fi
alias ls="ls --color=tty" alias ls="ls --color=tty"
alias ll="ls -l" alias ll="ls -l"
alias l="ls -alh" alias l="ls -alh"
alias which="type -p" alias which="type -P"
# The "non-interactive" Bash build does not support programmable # The "non-interactive" Bash build does not support programmable
# completion so check whether it's available. # completion so check whether it's available.