diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 15:34:56 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-03-24 15:34:56 +1300 |
commit | d2d66ee13c568c5fced6033f69929ad172b01281 (patch) | |
tree | d7c2288739d9cbfb87df5b4b2dfebe1a41706533 /sh/shrc.d | |
parent | Merge branch 'master' into port/bsd/freebsd (diff) | |
parent | Add a semicolon to appease old sed(1) (diff) | |
download | dotfiles-d2d66ee13c568c5fced6033f69929ad172b01281.tar.gz dotfiles-d2d66ee13c568c5fced6033f69929ad172b01281.zip |
Merge branch 'master' into port/bsd/freebsd
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/path.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sh/shrc.d/path.sh b/sh/shrc.d/path.sh index 2759e11f..79b48fd5 100644 --- a/sh/shrc.d/path.sh +++ b/sh/shrc.d/path.sh @@ -1,14 +1,6 @@ # Function to manage contents of PATH variable within the current shell path() { - # The second argument, the directory, can never have a colon - case $2 in - *:*) - printf >&2 'path(): %s illegal colon\n' "$2" - return 2 - ;; - esac - # Check first argument to figure out operation case $1 in |