Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up comments for POSIX interactive scripts | Tom Ryder | 2022-07-29 | 1 | -0/+1 |
| | |||||
* | Add a cheeky error message to sd() | Tom Ryder | 2018-12-31 | 1 | -0/+6 |
| | |||||
* | Strip trailing slashes from sd() target | Tom Ryder | 2018-12-31 | 1 | -0/+8 |
| | |||||
* | Correct error message from sd() | Tom Ryder | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Two-space sentences in shell comments | Tom Ryder | 2018-12-27 | 1 | -2/+2 |
| | |||||
* | Use `command` consistently, silence ShellCheck | Tom Ryder | 2018-12-17 | 1 | -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. | ||||
* | More error-resistant sd() | Tom Ryder | 2017-05-27 | 1 | -28/+58 |
| | |||||
* | Still tinkering with ?d.sh scripts | Tom Ryder | 2017-05-26 | 1 | -2/+0 |
| | |||||
* | Reimplement sd() without subshell | Tom Ryder | 2017-05-26 | 1 | -39/+41 |
| | |||||
* | Work around newline-stripping in param expansion | Tom Ryder | 2017-01-02 | 1 | -2/+5 |
| | |||||
* | Use opening parens for case safety in subshell | Tom Ryder | 2016-12-11 | 1 | -4/+4 |
| | |||||
* | Remove some trailing whitespace | Tom Ryder | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Add comment to vague block | Tom Ryder | 2016-08-23 | 1 | -0/+2 |
| | |||||
* | Fix up ?d() functions | Tom Ryder | 2016-08-23 | 1 | -8/+8 |
| | | | | | | 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`. | ||||
* | Remove apostrophe from comment to calm pdksh | Tom Ryder | 2016-08-21 | 1 | -1/+1 |
| | | | | | To my considerable surprise, OpenPSD pdksh sees this apostrophe within this subshell wrapper as an *open quote*! | ||||
* | Port sd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+82 |