aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/path.sh
Commit message (Collapse)AuthorAgeFilesLines
* Shorten some long lines in path.shTom Ryder2022-03-261-3/+5
|
* Refactor some conditionalsTom Ryder2018-12-111-4/+12
|
* Refactor "path list" not to require a subshellTom Ryder2018-12-111-8/+9
|
* Remove SC2030 ignore for path logicTom Ryder2017-03-291-1/+0
| | | | Can't find where this was fixed
* Remove double-up colon check in path()Tom Ryder2017-03-241-8/+0
|
* Add "pop" and "shift" methods to path()Tom Ryder2017-01-251-0/+38
|
* Improvements to path()Tom Ryder2017-01-071-16/+39
| | | | | | | | * Move common directory argument checking into helper function * Tolerate only one directory argument * Show subcommand in error output * Don't show help on failed commands, just suggest it * (Technicality) Fix trailing-newline lossage in subshell function
* Remove some trailing whitespaceTom Ryder2016-10-191-1/+1
|
* Use simpler method for `path check`Tom Ryder2016-09-261-5/+6
| | | | Easier to read and does not require a subshell
* Correct path() error messagesTom Ryder2016-08-201-4/+4
|
* Correct empty var referenceTom Ryder2016-08-201-2/+1
|
* Write path() help to stderr if unrec commandTom Ryder2016-08-201-1/+1
|
* Dance for shellcheck in path()Tom Ryder2016-08-201-5/+8
|
* Port path() to POSIX shTom Ryder2016-08-201-0/+93
That was a lot easier than I thought