From bef46f15531ede38beb0136833688c22164f3f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 26 Nov 2010 09:57:38 +0000 Subject: [PATCH] Moving which to type -P, so 'which ls', 'which time', ... work. svn path=/nixos/trunk/; revision=24862 --- modules/programs/bash/bashrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/bash/bashrc.sh b/modules/programs/bash/bashrc.sh index 50768635d36..c301ffde73a 100644 --- a/modules/programs/bash/bashrc.sh +++ b/modules/programs/bash/bashrc.sh @@ -68,7 +68,7 @@ fi alias ls="ls --color=tty" alias ll="ls -l" alias l="ls -alh" -alias which="type -p" +alias which="type -P" # The "non-interactive" Bash build does not support programmable # completion so check whether it's available.