diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-21 11:26:23 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-06-21 11:26:23 +1200 |
commit | 685234af1f48e976fd57ec04d4a253bcabfad4ea (patch) | |
tree | e8b232b7d2a9ffc9f18b5fa82667277ceff98e0b /bash/bashrc | |
parent | Remove unneeded line-break backslashes (diff) | |
download | dotfiles-685234af1f48e976fd57ec04d4a253bcabfad4ea.tar.gz dotfiles-685234af1f48e976fd57ec04d4a253bcabfad4ea.zip |
Remove unneeded linebreak backslashes
Handy command:
$ find bin sh bash -type f -exec grep \
-e '|| \\$' \
-e '&& \\$' \
-e '^\s*||' \
-e '^\s*&&' \
{} +
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc index 383273c3..facdd7eb 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -3,7 +3,7 @@ # 2.05a). if ! [ -n "$BASH_VERSINFO" ] ; then return -elif ((BASH_VERSINFO[0] == 2)) && \ +elif ((BASH_VERSINFO[0] == 2)) && ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then return fi |