diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-05 10:59:22 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-05 10:59:22 +1200 |
commit | 8319dec713046fdfff95241381dd0cd9756442ca (patch) | |
tree | 4af320abbd7dc149848eec0928b815d7ce196758 /bash/bashrc.d | |
parent | Add path() function (diff) | |
download | dotfiles-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.bash | 2 |
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") |