Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove mysql() function | Tom Ryder | 2017-05-23 | 1 | -25/+0 |
| | | | | Clumsy interaction too close to default behaviour anyway | ||||
* | 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 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | Block stderr from tabs call | Tom Ryder | 2017-01-15 | 1 | -2/+2 |
| | | | | Also prefix with `command -p` | ||||
* | Block output from tabs(1) | Tom Ryder | 2017-01-15 | 1 | -1/+1 |
| | |||||
* | Add tab settings to shrc | Tom Ryder | 2017-01-14 | 1 | -0/+5 |
| | |||||
* | Make some comments less useless | Tom Ryder | 2017-01-11 | 2 | -2/+2 |
| | |||||
* | Move prompt resetting into its own file | Tom Ryder | 2017-01-11 | 2 | -6/+5 |
| | |||||
* | Unset some more stupid variables | Tom Ryder | 2017-01-11 | 2 | -5/+4 |
| | |||||
* | More cleaning crap | Tom Ryder | 2017-01-11 | 1 | -0/+3 |
| | |||||
* | Unset stupid GNU options to grep(1)/ls(1) | Tom Ryder | 2017-01-11 | 2 | -0/+6 |
| | |||||
* | Work around systems that export PS1 | Tom Ryder | 2017-01-11 | 1 | -0/+6 |
| | | | | So far I don't like SlackWare's shell setup very much at all | ||||
* | Have ls() func undo aliases in its way | Tom Ryder | 2017-01-11 | 1 | -0/+4 |
| | |||||
* | Group single-letter ls(1) opts | Tom Ryder | 2017-01-11 | 1 | -8/+4 |
| | |||||
* | Use POSIX-compatible versions of ls(1) opts | Tom Ryder | 2017-01-11 | 2 | -22/+14 |
| | |||||
* | Change some return codes for dir marking funcs | Tom Ryder | 2017-01-10 | 3 | -3/+3 |
| | | | | | The mark not being set isn't really a usage error for the function given. | ||||
* | Move tmux() function to tm(1df) | Tom Ryder | 2017-01-10 | 1 | -19/+0 |
| | | | | No real reason for it to be a shell function | ||||
* | Much simpler LC_COLLATE approach | Tom Ryder | 2017-01-09 | 1 | -15/+4 |
| | |||||
* | Force LC_COLLATE to a sane value | Tom Ryder | 2017-01-09 | 1 | -0/+15 |
| | | | | | | | | It always really annoys me when e.g. the leading dot or leading slash in pathnames or filenames gets ignored for the purposes of sorting. I may refine this later on but it seems like a good start for an approach. | ||||
* | Adjust subshell logic in md() | Tom Ryder | 2017-01-08 | 1 | -5/+8 |
| | |||||
* | Improvements to path() | Tom Ryder | 2017-01-07 | 1 | -16/+39 |
| | | | | | | | | * Move common directory argument checking into helper function * Tolerate only one directory argument * Show subcommand in error output * Don't show help on failed commands, just suggest it * (Technicality) Fix trailing-newline lossage in subshell function | ||||
* | Resolve an md() issue | Tom Ryder | 2017-01-05 | 1 | -13/+5 |
| | | | | Made the whole thing tidier, actually | ||||
* | Soothe shellcheck about new marked dirs funcs | Tom Ryder | 2017-01-02 | 2 | -1/+2 |
| | |||||
* | Handle simple relative dirs in md() | Tom Ryder | 2017-01-02 | 1 | -0/+9 |
| | | | | And add an issue about handling complex ones | ||||
* | Add marked-dir tools | Tom Ryder | 2017-01-02 | 4 | -0/+71 |
| | |||||
* | Remove an unnecessary trailing slash from ad() | Tom Ryder | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Work around newline-stripping in param expansion | Tom Ryder | 2017-01-02 | 6 | -12/+30 |
| | |||||
* | Fix a zsh-as-sh/ksh-specific issue | Tom Ryder | 2016-12-30 | 1 | -0/+8 |
| | | | | Very niche, but interesting to fix anyway |