Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Two-space sentences in shell comments | Tom Ryder | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Remove hare-brained no-op line | Tom Ryder | 2017-05-26 | 1 | -1/+0 |
| | |||||
* | Reimplement ud() | Tom Ryder | 2017-05-26 | 1 | -32/+30 |
| | | | | More fault-tolerant and no subshell or temporary vars | ||||
* | Work around newline-stripping in param expansion | Tom Ryder | 2017-01-02 | 1 | -2/+5 |
| | |||||
* | Fix up ?d() functions | Tom Ryder | 2016-08-23 | 1 | -11/+15 |
| | | | | | | 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`. | ||||
* | Correctly bail from failed subshell | Tom Ryder | 2016-08-20 | 1 | -3/+3 |
| | |||||
* | Port ud() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+42 |