Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Silence errors from missing mesg(1) | Tom Ryder | 2018-02-24 | 1 | -1/+1 |
| | | | | | Funtoo Linux does not include this tool by default. It's not important enough to raise the error message on every login. | ||||
* | Quote EDITOR/VISUAL assignments for clarity | Tom Ryder | 2018-01-15 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | This appeases ShellCheck 0.4.7, which is fretting that I meant a command expansion. I didn't, but it seems a bit nicer to quote these anyway. In sh/profile.d/editor.sh line 4: EDITOR=ed ^-- SC2209: Use var=$(command) to assign output (or quote to assign string). In sh/profile.d/editor.sh line 22: EDITOR=ex ^-- SC2209: Use var=$(command) to assign output (or quote to assign string). In sh/profile.d/visual.sh line 2: VISUAL=vi ^-- SC2209: Use var=$(command) to assign output (or quote to assign string). | ||||
* | Explicitly ignore uninteresting tree(1) opts | Tom Ryder | 2018-01-15 | 1 | -0/+1 |
| | | | | | | | | ShellCheck 0.4.7 complained about this: In sh/shrc.d/tree.sh line 12: case $opt in ^-- SC2220: Invalid flags are not handled. Add a *) case. | ||||
* | Remove --batch option and wrapper for gpg(1) | Tom Ryder | 2017-12-29 | 1 | -10/+0 |
| | | | | | | | | This was originally added to cut the decryption boilerplate, which no longer seems to be an issue; I think that --quiet may be correctly blocking it now. Even without this, it caused more problems than it solved when gpg(1) genuinely did need user interaction from me, for example for --update-trustdb. | ||||
* | Strip trailing whitespace | Tom Ryder | 2017-11-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-07-28 | 13 | -47/+15 |
|\ | |||||
| * | Adjust linebreak behaviour around downloads check | Tom Ryder | 2017-07-26 | 1 | -1/+4 |
| | | |||||
| * | Gracefully handle two failed tput color calls | Tom Ryder | 2017-07-11 | 3 | -3/+3 |
| | | |||||
| * | Put local gamesdir at end of PATH | Tom Ryder | 2017-07-01 | 1 | -1/+1 |
| | | | | | | | | | | So that if anything actually important has the same name, that's used instead | ||||
| * | Remove env(1) sorting | Tom Ryder | 2017-06-30 | 1 | -8/+0 |
| | | | | | | | | | | Not worth the potential confusion. If I want nice sorted information I can either pipe it through sort myself, or use `declare -px` in Bash. | ||||
| * | Use short hostname in default prompt | Tom Ryder | 2017-06-24 | 1 | -1/+1 |
| | | |||||
| * | Fix up an error message | Tom Ryder | 2017-06-23 | 1 | -1/+1 |
| | | |||||
| * | Add ed() options file check | Tom Ryder | 2017-06-23 | 1 | -0/+4 |
| | | |||||
| * | Remove user@ prefix from prompt | Tom Ryder | 2017-06-19 | 1 | -2/+2 |
| | | |||||
| * | More segmentation/tidying | Tom Ryder | 2017-06-18 | 2 | -9/+0 |
| | | |||||
| * | Break plenv stuff into its own target | Tom Ryder | 2017-06-18 | 2 | -22/+0 |
| | | |||||
* | | Merge branch 'master' into port/bsd/freebsd | Tom Ryder | 2017-06-02 | 12 | -324/+213 |
|\| | |||||
| * | Conditions for downloads.sh | Tom Ryder | 2017-05-31 | 1 | -0/+15 |
| | | |||||
| * | Some extra newlines | Tom Ryder | 2017-05-31 | 1 | -1/+1 |
| | | |||||
| * | Add "downloads.sh" profile event | Tom Ryder | 2017-05-31 | 1 | -0/+13 |
| | | | | | | | | | | | | Looks for ~/.downloads, checks each named dir, if there are any files in it, warns you once per dir including a count. This is to prompt me into sorting my downloads directory. | ||||
| * | Simplify rd() a lot | Tom Ryder | 2017-05-27 | 1 | -35/+10 |
| | | | | | | | | Including removing the pesky subshell | ||||
| * | Revert "Remove redundant `|| return` from gd()" | Tom Ryder | 2017-05-27 | 1 | -1/+1 |
| | | | | | | | | | | | | This reverts commit 1302b279bf2b1b2ae76ea8251a32e480d64f2f7a. This was added because of Shellcheck being fussy | ||||
| * | More error-resistant sd() | Tom Ryder | 2017-05-27 | 3 | -32/+62 |
| | | |||||
| * | 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 |
|\| |