From 8319dec713046fdfff95241381dd0cd9756442ca Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 5 Jun 2015 10:59:22 +1200 Subject: Couple of minor tweaks to path() --- bash/bashrc.d/path.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc.d') diff --git a/bash/bashrc.d/path.bash b/bash/bashrc.d/path.bash index b182c739..03f16c16 100644 --- a/bash/bashrc.d/path.bash +++ b/bash/bashrc.d/path.bash @@ -126,7 +126,7 @@ path() { PATH="${newpatharr[*]}" ;; - # Return whether DIR is a component of PATH + # Return whether directory is a component of PATH check|c) local -a patharr IFS=: read -a patharr < <(printf '%s\n' "$PATH") -- cgit v1.2.3