Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Remove redundant `|| return` from gd() | Tom Ryder | 2017-05-27 | 1 | -1/+1 | |
| | | | | | | | | It will do that implicitly anyway | |||||
| * | Use -z rather than !-n | Tom Ryder | 2017-05-27 | 1 | -1/+1 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | Remove ad() | Tom Ryder | 2017-05-26 | 1 | -80/+0 | |
| | | | | | | | | It has no real advantages over and isn't as clever as just cd /a*/b*/c* | |||||
| * | Tidy/golf gt() down a bit | Tom Ryder | 2017-05-26 | 1 | -15/+13 | |
| | | ||||||
| * | Remove hare-brained no-op line | Tom Ryder | 2017-05-26 | 1 | -1/+0 | |
| | | ||||||
| * | Still tinkering with ?d.sh scripts | Tom Ryder | 2017-05-26 | 3 | -33/+20 | |
| | | ||||||
| * | Reimplement ud() | Tom Ryder | 2017-05-26 | 1 | -32/+30 | |
| | | | | | | | | More fault-tolerant and no subshell or temporary vars | |||||
| * | 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 | 2 | -42/+44 | |
| | | ||||||
| * | 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 | |||||
| * | Correct gt() error output | Tom Ryder | 2017-05-24 | 1 | -1/+1 | |
| | | ||||||
| * | Remove mysql() function | Tom Ryder | 2017-05-23 | 1 | -25/+0 | |
| | | | | | | | | Clumsy interaction too close to default behaviour anyway | |||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-05-19 | 9 | -27/+32 | |
|\| | ||||||
| * | Just use whichever vi(1) we need as VISUAL | Tom Ryder | 2017-05-14 | 1 | -6/+2 | |
| | | | | | | | | | | | | | | This avoids an unwanted situation on e.g. Debian minimal where the default Vi implementation is a stripped-down Vim that doesn't use vim(1) as a name, so stuff like sudoedit(8) breaks looking for it and falls back on EDITOR. | |||||
| * | Move exm(1df) test into EDITOR selection | Tom Ryder | 2017-05-14 | 1 | -4/+13 | |
| | | | | | | | | | | | | Merely checking for vim(1) is a poor test; we specifically need to know if the ex(1) implementation is Vim, so test it while making the EDITOR decision. | |||||
| * | Use more logical ~/.cache subpath | Tom Ryder | 2017-04-12 | 7 | -17/+17 | |
| | | ||||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-04-07 | 1 | -2/+4 | |
|\| | ||||||
| * | Make -x in ls() conditional on terminal output | Tom Ryder | 2017-04-06 | 1 | -2/+4 | |
| | | | | | | | | Mimics behaviour of GNU ls(1) and probably other implementations too | |||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-03-29 | 3 | -1/+56 | |
|\| | ||||||
| * | Remove SC2030 ignore for path logic | Tom Ryder | 2017-03-29 | 1 | -1/+0 | |
| | | | | | | | | Can't find where this was fixed | |||||
| * | Add lgt() | Tom Ryder | 2017-03-29 | 1 | -0/+28 | |
| | | ||||||
| * | Add gt() (go to) | Tom Ryder | 2017-03-29 | 1 | -0/+28 | |
| | | ||||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-03-24 | 2 | -9/+10 | |
|\| | ||||||
| * | Add exm(1df) to work around Vim's screen-clearing | Tom Ryder | 2017-03-24 | 1 | -1/+10 | |
| | | ||||||
| * | Remove double-up colon check in path() | Tom Ryder | 2017-03-24 | 1 | -8/+0 | |
| | | ||||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-03-10 | 5 | -17/+34 | |
|\| | ||||||
| * | Use env vars not shell funcs for vim check | Tom Ryder | 2017-03-09 | 3 | -17/+12 | |
| | | | | | | | | | | | | Set EDITOR and VISUAL appropriately based on what's on the system. We can't assume ed(1) unfortunately, but ex(1) should be there. | |||||
| * | Add plenv scripts | Tom Ryder | 2017-02-26 | 2 | -0/+22 | |
| | | | | | | | | | | Probably worthwhile given I use it on several systems and it's not expensive to check whether it exists. | |||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-02-25 | 4 | -7/+9 | |
|\| | ||||||
| * | Don't export GPG_TTY if null | Tom Ryder | 2017-02-18 | 1 | -1/+1 | |
| | | ||||||
| * | Use short-circuits in .profile.d scripts | Tom Ryder | 2017-02-18 | 2 | -5/+6 | |
| | | ||||||
| * | Condense ENV_EXT hack, unset it | Tom Ryder | 2017-02-17 | 1 | -1/+2 | |
| | | ||||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-01-28 | 2 | -4/+10 | |
|\| | ||||||
| * | s/exit/return/ in ex-subshell func | Tom Ryder | 2017-01-27 | 1 | -4/+4 | |
| | | ||||||
| * | Extend "fallback" prompt a bit | Tom Ryder | 2017-01-27 | 1 | -0/+6 | |
| | | | | | | | | Include username/hostname if no SSH variables | |||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-01-25 | 2 | -8/+47 | |
|\| | ||||||
| * | Add "pop" and "shift" methods to path() | Tom Ryder | 2017-01-25 | 1 | -0/+38 | |
| | | ||||||
| * | Avoid a fork in options detection | Tom Ryder | 2017-01-25 | 1 | -8/+9 | |
| | | ||||||
* | | Add -D option for FreeBSD ls() | Tom Ryder | 2017-01-25 | 1 | -3/+7 | |
| | | ||||||
* | | Add FreeBSD -G to ls() wrapper | Tom Ryder | 2017-01-25 | 1 | -0/+6 | |
|/ | | | | Not sure this is the correct approach yet. I'm not sure I like the CLICOLOR environment variable. | |||||
* | Work around trailing newlines in vr() | Tom Ryder | 2017-01-23 | 1 | -3/+12 | |
| | | | | This is ugly, but a better fix isn't evident to me just now. | |||||
* | Revert "Color ed(1) prompt if possible" | Tom Ryder | 2017-01-18 | 1 | -14/+2 | |
| | | | | This reverts commit ffd9d95b6adf5982448e1685a8c79c74b148cb00. | |||||
* | Revert "Remove some quotes that confused OpenBSD" | Tom Ryder | 2017-01-18 | 1 | -2/+2 | |
| | | | | This reverts commit f825245902048e324a3567e0967f21cc1fae5bd3. | |||||
* | Remove some quotes that confused OpenBSD | Tom Ryder | 2017-01-18 | 1 | -2/+2 | |
| | ||||||
* | Color ed(1) prompt if possible | Tom Ryder | 2017-01-18 | 1 | -2/+14 | |
| | ||||||
* | Remove tabs settings | Tom Ryder | 2017-01-16 | 1 | -5/+0 | |
| | | | | | `stty tab0` is not even in OpenBSD; these are way more trouble than they're worth. |