Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add safety to bd() | Tom Ryder | 2017-05-27 | 1 | -1/+2 |
| | | | | | | Handle case if PWD does not start with a slash--a big "Shouldn't Happen", but easy enough to be worth handling, since it would loop infinitely otherwise | ||||
* | More refinements to bd() | Tom Ryder | 2017-05-27 | 1 | -28/+11 |
| | |||||
* | More bd() improvements | Tom Ryder | 2017-05-26 | 1 | -12/+29 |
| | | | | Including rigorous trailing-slash handling | ||||
* | Correct default behaviour for bd() with no args | Tom Ryder | 2017-05-26 | 1 | -6/+9 |
| | |||||
* | Reimplement sd() without subshell | Tom Ryder | 2017-05-26 | 1 | -3/+3 |
| | |||||
* | Even terser/nicer bd() | Tom Ryder | 2017-05-25 | 1 | -7/+7 |
| | |||||
* | Shorter/saner implementation for bd() | Tom Ryder | 2017-05-25 | 1 | -56/+29 |
| | | | | Avoids subshell mess and consequent trailing-space workaround | ||||
* | 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 | -6/+6 |
| | |||||
* | Remove commented apostrophe from within subshell | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Fix up ?d() functions | Tom Ryder | 2016-08-23 | 1 | -3/+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`. | ||||
* | Correctly bail from failed subshell | Tom Ryder | 2016-08-20 | 1 | -2/+3 |
| | |||||
* | Remove option term spec from bd() | Tom Ryder | 2016-08-20 | 1 | -7/+3 |
| | | | | It doesn't accept options; cd() needs to because it's a wrapper | ||||
* | Port bd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+67 |