Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Remove unneeded { } around options() func | Tom Ryder | 2016-08-25 | 1 | -2/+2 |
| | | | | I'm learning a lot from izabera today | ||||
* | Switch ls()/readline to horizontal list/complete | Tom Ryder | 2016-08-25 | 1 | -0/+1 |
| | | | | <https://github.com/izabera/libash/blob/9e709a56a148b4311792cc66cd21b61a73434573/extras/sample_inputrc#L33> | ||||
* | Force --hide-control-chars on ls(1) if available | Tom Ryder | 2016-08-24 | 1 | -5/+6 |
| | | | | | I prefer it to literal or C-style escaping representations, and ls(1) isn't for scripting output anyway. | ||||
* | Initialise last var | Tom Ryder | 2016-08-23 | 1 | -0/+1 |
| | |||||
* | Abbreviation in fortune.sh | Tom Ryder | 2016-08-23 | 1 | -2/+1 |
| | |||||
* | Change verse login check to use numeric test | Tom Ryder | 2016-08-23 | 1 | -2/+2 |
| | | | | shellcheck warned me that \> isn't POSIX | ||||
* | Correct stderr redirection for keychain(1) check | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Stop versioning go.sh | Tom Ryder | 2016-08-21 | 1 | -6/+0 |
| | | | | | Pretty simple script, and only in active use on one of my systems at the moment anyway; just cluttering environment otherwise | ||||
* | Style tweaks to profile.d subscripts | Tom Ryder | 2016-08-21 | 4 | -13/+4 |
| | |||||
* | Consolidate ed,bc,grep,ls.sh into one function | Tom Ryder | 2016-08-21 | 5 | -98/+55 |
| | |||||
* | Distill/fix keychain handling a bit | Tom Ryder | 2016-08-21 | 1 | -10/+5 |
| | |||||
* | Restructure ed() to test,cache features on login | Tom Ryder | 2016-08-21 | 1 | -0/+22 |
| | |||||
* | Cache --quiet option for bc(1) in flag file | Tom Ryder | 2016-08-21 | 1 | -0/+22 |
| | | | | As done for grep(1) and ls(1); ed(1) is next | ||||
* | Add la(), ll() | Tom Ryder | 2016-08-21 | 1 | -1/+2 |
| | |||||
* | Clean up/extend grep()/ls() extension | Tom Ryder | 2016-08-21 | 2 | -4/+10 |
| | |||||
* | Add --devices and --directories to grep(1) opts | Tom Ryder | 2016-08-21 | 1 | -2/+8 |
| | |||||
* | Move oldpwd.sh functionality into profile | Tom Ryder | 2016-08-20 | 1 | -5/+0 |
| | |||||
* | Port all bash_profile.d scripts to POSIX sh | Tom Ryder | 2016-08-20 | 3 | -0/+71 |
| | | | | | Also require flag files in ~/.welcome for displaying or not displaying login stuff | ||||
* | Suppress stderr from command -v checks | Tom Ryder | 2016-08-18 | 2 | -3/+3 |
| | | | | | Now I remember--old Bash prints failure messages to stderr for this call. That'll be why I was suppressing both streams initially. | ||||
* | Arrange EDITOR/VISUAL in a more typical way | Tom Ryder | 2016-08-18 | 2 | -4/+6 |
| | |||||
* | Fix up some command builtin calls | Tom Ryder | 2016-08-18 | 2 | -3/+3 |
| | |||||
* | Do away with dircolors and LS_COLORS | Tom Ryder | 2016-08-18 | 1 | -12/+1 |
| | | | | | | | The default colors are just fine; I want to be able to distinguish directories, devices, links, and executable files, and those all appear to be configured by default. The giant environment variable is too annoying for too little benefit. |