aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/gd.sh
Commit message (Collapse)AuthorAgeFilesLines
* Use `command` consistently, silence ShellCheckTom Ryder2018-12-171-1/+2
| | | | | | | | | | ShellCheck (SC2164) is upset about these `cd` commands where the return type isn't being checked, but they're all by design, as they're the last command in the function, and thereby constitute the function's return value implicitly. Otherwise, this commit changes the shrc.d and profile.d subfiles to use the `command` wrapper only where it's actually needed.
* Revert "Remove redundant `|| return` from gd()"Tom Ryder2017-05-271-1/+1
| | | | | | This reverts commit 1302b279bf2b1b2ae76ea8251a32e480d64f2f7a. This was added because of Shellcheck being fussy
* Remove redundant `|| return` from gd()Tom Ryder2017-05-271-1/+1
| | | | It will do that implicitly anyway
* Use -z rather than !-nTom Ryder2017-05-271-1/+1
|
* Change some return codes for dir marking funcsTom Ryder2017-01-101-1/+1
| | | | | The mark not being set isn't really a usage error for the function given.
* Soothe shellcheck about new marked dirs funcsTom Ryder2017-01-021-1/+1
|
* Add marked-dir toolsTom Ryder2017-01-021-0/+18