diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-15 12:31:26 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-15 12:31:26 +1300 |
commit | 99c655cd11cd9000a496bde9c9fced98308c6454 (patch) | |
tree | dfec0895cc9448af3c8eb6ffb7eac0b662315456 /sh/profile.d/editor.sh | |
parent | Merge branch 'hotfix/v0.22.1' (diff) | |
parent | Bump version number to 0.23.0 (diff) | |
download | dotfiles-99c655cd11cd9000a496bde9c9fced98308c6454.tar.gz dotfiles-99c655cd11cd9000a496bde9c9fced98308c6454.zip |
Merge branch 'release/v0.23.0'v0.23.0
* release/v0.23.0:
Bump version number to 0.23.0
Remove unused `self` var from clog(1df)
Change double-quote printf pattern to single-quote
Move ShellCheck line to correct place in sra(1df)
Quote EDITOR/VISUAL assignments for clarity
Explicitly ignore uninteresting tree(1) opts
Refactor clog(1df), allow args and non-term stdin
Reimplement bl(1df) in Awk
Separate ax(1df) manpage args from command
Make newline explicit for ax(1df)
Make first ax(1df) arg safer, warn on second arg
Correct monospaced blocks in Vim plugin docs
Diffstat (limited to 'sh/profile.d/editor.sh')
-rw-r--r-- | sh/profile.d/editor.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/profile.d/editor.sh b/sh/profile.d/editor.sh index debb93b6..d8d13e0a 100644 --- a/sh/profile.d/editor.sh +++ b/sh/profile.d/editor.sh @@ -1,7 +1,7 @@ # Ideally, we'd use plain old ed(1), but many Linux distributions don't install # it by default if command -v ed >/dev/null 2>&1 ; then - EDITOR=ed + EDITOR='ed' # Failing that, if the system's implementation of ex(1) looks like Vim and we # have exm(1df) in our $PATH, use the latter to work around Vim's ex mode @@ -15,11 +15,11 @@ elif ( (*) exit 1 ;; esac ) >/dev/null 2>&1 ; then - EDITOR=exm + EDITOR='exm' # Otherwise, we can just call ex(1) directly else - EDITOR=ex + EDITOR='ex' fi export EDITOR |