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 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | 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). | ||||
* | 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. | ||||
* | 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 | 1 | -2/+6 |
| | | | | | | 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. | ||||
* | Arrange EDITOR/VISUAL in a more typical way | Tom Ryder | 2016-08-18 | 1 | -4/+3 |
| | |||||
* | Remove blank lines at end of files | Tom Ryder | 2016-03-28 | 1 | -1/+0 |
| | |||||
* | Remove some unnecessary quotes | Tom Ryder | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | Break editor/pager setup into subfile | Tom Ryder | 2013-09-15 | 1 | -0/+5 |