diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-03-26 18:59:40 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-03-26 18:59:40 +1300 |
commit | a3b22a724062220769007dcb23ee20c37b12942b (patch) | |
tree | cb284a235c53f5e7e69d0ba6d1e254206a34495a /sh/shrc.d/path.sh | |
parent | Merge branch 'release/v11.13.0' into develop (diff) | |
download | dotfiles-a3b22a724062220769007dcb23ee20c37b12942b.tar.gz dotfiles-a3b22a724062220769007dcb23ee20c37b12942b.zip |
Shorten some long lines in path.sh
Diffstat (limited to 'sh/shrc.d/path.sh')
-rw-r--r-- | sh/shrc.d/path.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sh/shrc.d/path.sh b/sh/shrc.d/path.sh index a854e148..812f5f0f 100644 --- a/sh/shrc.d/path.sh +++ b/sh/shrc.d/path.sh @@ -130,7 +130,7 @@ path(): Manage contents of PATH variable USAGE: path [list] - Print the current directories in PATH, one per line (default command) + Print the current directories in PATH, one per line (default) path insert [DIR] Add directory DIR (default $PWD) to the front of PATH path append [DIR] @@ -142,7 +142,7 @@ USAGE: path pop Remove the last directory from PATH path check [DIR] - Return whether directory DIR (default $PWD) is a component of PATH + Return whether directory DIR (default $PWD) is in PATH path help Print this help message EOF @@ -150,7 +150,9 @@ EOF # Command not found *) - printf >&2 'path(): %s: Unknown command (try "help")\n' "$1" + printf >&2 \ + 'path(): %s: Unknown command (try "help")\n' \ + "$1" return 2 ;; esac |