Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use inline integers rather than bit shifting | Tom Ryder | 2020-11-13 | 1 | -1/+1 |
| | | | | Syntax highlighting doesn't deal with it well | ||||
* | Use better location for verse cache | Tom Ryder | 2020-06-23 | 1 | -5/+5 |
| | |||||
* | Use blank value for default fortunes | Tom Ryder | 2020-06-23 | 1 | -1/+1 |
| | |||||
* | Simplify welcome.sh feature test | Tom Ryder | 2020-06-23 | 1 | -2/+1 |
| | |||||
* | Apply XDG basedirs to welcome.sh | Tom Ryder | 2020-06-23 | 1 | -7/+12 |
| | |||||
* | Use XDG path for login welcome config | Tom Ryder | 2020-06-10 | 1 | -1/+1 |
| | |||||
* | Adjust ~/.hushlogin test in login welcome script | Tom Ryder | 2020-06-10 | 1 | -2/+2 |
| | |||||
* | Move systemd editor setting to after visual | Tom Ryder | 2020-05-12 | 2 | -4/+6 |
| | | | | Loaded out of order otherwise, so doesn't get set. | ||||
* | Try a compatibility switch on vi/vim | Tom Ryder | 2020-05-12 | 1 | -2/+7 |
| | |||||
* | Force unwanted --quoting-style option to ls(1) off | Tom Ryder | 2020-05-02 | 2 | -0/+5 |
| | |||||
* | Correct misplaced `exit` call in .profile.d file | Tom Ryder | 2020-04-28 | 1 | -1/+1 |
| | | | | | This was closing my connection immediately when I logged in interactively to any machine without systemd! | ||||
* | Set systemctl editor to vi rather than ed | Tom Ryder | 2020-04-27 | 1 | -0/+4 |
| | |||||
* | Prevent me from using `which` | Tom Ryder | 2019-06-10 | 1 | -0/+4 |
| | |||||
* | Fix up a few cosmetic shell anti-patterns | Tom Ryder | 2019-03-29 | 1 | -1/+1 |
| | |||||
* | Return to vi as default visual editor | Tom Ryder | 2019-01-07 | 1 | -7/+2 |
| | | | | | | This is getting in the way of my work a bit too much. I'm still learning how to use it, but throwing myself into the deep end at this point turned out to be a bad idea. | ||||
* | Further attempts at sane Emacs VISUAL setting | Tom Ryder | 2019-01-04 | 1 | -21/+5 |
| | |||||
* | Block stderr from emacs daemon startup | Tom Ryder | 2019-01-02 | 1 | -1/+1 |
| | |||||
* | Use short switches for emacs server pgrep | Tom Ryder | 2019-01-02 | 1 | -2/+1 |
| | | | | | Turns out the pgrep from procps version 3.2.8 doesn't support these longer options. | ||||
* | Add emacsclient logic to $VISUAL set | Tom Ryder | 2019-01-02 | 1 | -4/+20 |
| | |||||
* | Switch to using GNU Emacs on development machines | Tom Ryder | 2019-01-01 | 1 | -2/+8 |
| | | | | | | | | | | | | | | > Andromeda, by Perseus sav'd and wed, > Hanker'd each day to see the Gorgon's head: > Till o'er a fount he held it, bade her lean, > And mirror'd in the wave was safely seen > That death she liv'd by. > Let not thine eyes know > Any forbidden thing itself, although > It once should save as well as kill: but be > Its shadow upon life enough for thee. > > --Dante Gabriel Rossetti | ||||
* | Add clarifying comment | Tom Ryder | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Translate a short-circuit into a conditional | Tom Ryder | 2018-12-31 | 1 | -1/+3 |
| | | | | | I only want to use the `||` short-circuits for control flow changes (return, continue, break etc). | ||||
* | Add a cheeky error message to sd() | Tom Ryder | 2018-12-31 | 1 | -0/+6 |
| | |||||
* | Strip trailing slashes from sd() target | Tom Ryder | 2018-12-31 | 1 | -0/+8 |
| | |||||
* | Correct error message from sd() | Tom Ryder | 2018-12-31 | 1 | -1/+1 |
| | |||||
* | Two-space sentences in shell comments | Tom Ryder | 2018-12-27 | 8 | -10/+10 |
| | |||||
* | Follow ShellCheck's recommendation of -z over !-n | Tom Ryder | 2018-12-17 | 2 | -2/+2 |
| | | | | I think !-n is a little clearer, but -z is OK. | ||||
* | Adjust PS1-PS4 reset | Tom Ryder | 2018-12-17 | 1 | -5/+12 |
| | |||||
* | Use exec for clearer subshell semantics | Tom Ryder | 2018-12-17 | 1 | -1/+1 |
| | |||||
* | Use `command` consistently, silence ShellCheck | Tom Ryder | 2018-12-17 | 11 | -13/+23 |
| | | | | | | | | | | 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. | ||||
* | Refactor some conditionals | Tom Ryder | 2018-12-11 | 15 | -48/+91 |
| | |||||
* | Factor out zsh ENV hack into one file | Tom Ryder | 2018-12-11 | 1 | -8/+0 |
| | | | | | It's a bit silly to have this in ~/.profile; it doesn't need to be there for such a niche case. | ||||
* | Refactor "path list" not to require a subshell | Tom Ryder | 2018-12-11 | 1 | -8/+9 |
| | |||||
* | Remove unneeded semicolon from sh "for VAR ; do" | Tom Ryder | 2018-12-06 | 1 | -1/+1 |
| | | | | | It turns out the semicolon belongs to the "in" syntax, and is optional without it. | ||||
* | Remove a lot of alignment spacing | Tom Ryder | 2018-11-23 | 3 | -10/+10 |
| | |||||
* | Use case statement for sudo -v switching | Tom Ryder | 2018-10-24 | 1 | -1/+4 |
| | | | | This is slightly more idiomatic shell. | ||||
* | Add e() and v() wrappers | Tom Ryder | 2018-08-07 | 2 | -0/+8 |
| | |||||
* | Break sh noglob guard into two lines for clarity | Tom Ryder | 2018-06-29 | 2 | -2/+4 |
| | | | | They're nicer to read this way. | ||||
* | Remove redundant NR==1 in awk(1) call | Tom Ryder | 2018-06-13 | 1 | -1/+1 |
| | | | | Duhhhhh. | ||||
* | 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 |
| | |