aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/pd.sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove misleading commentTom Ryder2022-07-291-2/+0
|
* Two-space sentences in shell commentsTom Ryder2018-12-271-1/+1
|
* 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.
* Still tinkering with ?d.sh scriptsTom Ryder2017-05-261-29/+20
|
* Work around newline-stripping in param expansionTom Ryder2017-01-021-2/+5
|
* Fix up ?d() functionsTom Ryder2016-08-231-6/+6
| | | | | | Count arguments in right places; return 2 on usage errors where possible; minimise subshell activity; move directory replacement functionality to its own function `rd()` rather than overloading `cd`.
* Port pd() to POSIX shTom Ryder2016-08-201-0/+37