diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-28 00:13:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-28 00:13:06 +1300 |
commit | 8215cba30d96b421ff0b434b5900fa60af5e1a4b (patch) | |
tree | e0a800d9f03580d8daf7524f40cafd8fe9e28061 /ksh/shrc.d/ksh.sh | |
parent | Merge branch 'release/v4.0.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-9141c7990036facd3f09847e8e468be9b707c145.tar.gz (sig) dotfiles-9141c7990036facd3f09847e8e468be9b707c145.zip |
Merge branch 'release/v4.1.0'v4.1.0
* release/v4.1.0:
Bump VERSION
Correct typo in stub vimrc
Remove some vestigial Bash 2.05 guards/comments
Break up some long lines
Two-space sentences in VimL comments
Two-space sentences in shell comments
Break up some long lines
Fix long lines in manual pages
Two-space sentences in manual pages
Adjust sentence spacing of README.md
Remove highlight double-quote VimL comment strings
Diffstat (limited to 'ksh/shrc.d/ksh.sh')
-rw-r--r-- | ksh/shrc.d/ksh.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksh/shrc.d/ksh.sh b/ksh/shrc.d/ksh.sh index cc6eeb32..5ad14b9c 100644 --- a/ksh/shrc.d/ksh.sh +++ b/ksh/shrc.d/ksh.sh @@ -1,15 +1,15 @@ # If we're running some kind of ksh, we'll need to source its specific -# configuration if it was defined or if we can find it. Bash and Zsh invoke +# configuration if it was defined or if we can find it. Bash and Zsh invoke # their own rc files first, which I've written to then look for ~/.shrc; ksh # does it the other way around. # Unfortunately, this isn't very simple, because KSH_VERSION is set by PDKSH # and derivatives, and in ksh93t+ and above, but not in earlier versions of -# ksh93. To make matters worse, the best way I can find for testing the version -# makes other shells throw tantrums. +# ksh93. To make matters worse, the best way I can find for testing the +# version makes other shells throw tantrums. -# Does the name of our shell have "ksh" in it at all? This is in no way -# guaranteed. It's just a heuristic that e.g. Bash shouldn't pass. +# Does the name of our shell have "ksh" in it at all? This is in no way +# guaranteed. It's just a heuristic that e.g. Bash shouldn't pass. case $0 in *ksh*) ;; *) return ;; @@ -19,8 +19,8 @@ esac # before we proceed ... if [ -z "$KSH_VERSION" ] ; then - # Test whether we have content in the .sh.version variable. Suppress errors - # and run it in a subshell to work around parsing error precedence. + # Test whether we have content in the .sh.version variable. Suppress + # errors and run it in a subshell to work around parsing error precedence. # shellcheck disable=SC2234 ( test -n "${.sh.version}" ) 2>/dev/null || return |