path: root/sh/shrc.d/gd.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-12-17Use `command` consistently, silence ShellCheckTom Ryder1-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.
2017-05-27Revert "Remove redundant `|| return` from gd()"Tom Ryder1-1/+1
This reverts commit 1302b279bf2b1b2ae76ea8251a32e480d64f2f7a. This was added because of Shellcheck being fussy
2017-05-27Remove redundant `|| return` from gd()Tom Ryder1-1/+1
It will do that implicitly anyway
2017-05-27Use -z rather than !-nTom Ryder1-1/+1
2017-01-10Change some return codes for dir marking funcsTom Ryder1-1/+1
The mark not being set isn't really a usage error for the function given.
2017-01-02Soothe shellcheck about new marked dirs funcsTom Ryder1-1/+1
2017-01-02Add marked-dir toolsTom Ryder1-0/+18