Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | 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 | ||||
* | Two-space sentences in shell comments | Tom Ryder | 2018-12-27 | 1 | -1/+1 |
| | |||||
* | Follow ShellCheck's recommendation of -z over !-n | Tom Ryder | 2018-12-17 | 1 | -1/+1 |
| | | | | I think !-n is a little clearer, but -z is OK. | ||||
* | Use `command` consistently, silence ShellCheck | Tom Ryder | 2018-12-17 | 1 | -2/+2 |
| | | | | | | | | | | 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 | 3 | -7/+14 |
| | |||||
* | 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 | 2 | -8/+8 |
| | |||||
* | Remove redundant NR==1 in awk(1) call | Tom Ryder | 2018-06-13 | 1 | -1/+1 |
| | | | | Duhhhhh. | ||||
* | 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). | ||||
* | Adjust linebreak behaviour around downloads check | Tom Ryder | 2017-07-26 | 1 | -1/+4 |
| | |||||
* | 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 | ||||
* | More segmentation/tidying | Tom Ryder | 2017-06-18 | 1 | -5/+0 |
| | |||||
* | Break plenv stuff into its own target | Tom Ryder | 2017-06-18 | 1 | -5/+0 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Add exm(1df) to work around Vim's screen-clearing | Tom Ryder | 2017-03-24 | 1 | -1/+10 |
| | |||||
* | Use env vars not shell funcs for vim check | Tom Ryder | 2017-03-09 | 2 | -4/+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 | 1 | -0/+5 |
| | | | | | Probably worthwhile given I use it on several systems and it's not expensive to check whether it exists. | ||||
* | Use short-circuits in .profile.d scripts | Tom Ryder | 2017-02-18 | 2 | -5/+6 |
| | |||||
* | s/exit/return/ in ex-subshell func | Tom Ryder | 2017-01-27 | 1 | -4/+4 |
| | |||||
* | Avoid a fork in options detection | Tom Ryder | 2017-01-25 | 1 | -8/+9 |
| | |||||
* | Use POSIX-compatible versions of ls(1) opts | Tom Ryder | 2017-01-11 | 1 | -7/+4 |
| | |||||
* | 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. | ||||
* | Put operating system into OS env var | Tom Ryder | 2016-12-28 | 1 | -0/+3 |
| | |||||
* | Refactor welcome.sh | Tom Ryder | 2016-09-01 | 1 | -38/+29 |
| | |||||
* | Make comment on BROWSER more useful | Tom Ryder | 2016-08-31 | 1 | -1/+2 |
| | |||||
* | Move SSH_ASKPASS setup to ~/.xinitrc | Tom Ryder | 2016-08-27 | 1 | -4/+0 |
| | |||||
* | Use only system-path mkdir/grep for options setup | Tom Ryder | 2016-08-27 | 1 | -2/+2 |
| | | | | A little quicker | ||||
* | Fix some comments in options.sh | Tom Ryder | 2016-08-27 | 1 | -2/+2 |
| | |||||
* | Combine welcome messages into one script | Tom Ryder | 2016-08-25 | 4 | -69/+54 |
| |