aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-05 10:59:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-05 10:59:22 +1200
commit8319dec713046fdfff95241381dd0cd9756442ca (patch)
tree4af320abbd7dc149848eec0928b815d7ce196758 /bash/bashrc.d
parentAdd path() function (diff)
downloaddotfiles-8319dec713046fdfff95241381dd0cd9756442ca.tar.gz
dotfiles-8319dec713046fdfff95241381dd0cd9756442ca.zip
Couple of minor tweaks to path()
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/path.bash2
1 files changed, 1 insertions, 1 deletions
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")