diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-19 10:36:12 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-19 10:36:12 +1300 |
commit | 49ec7982503778913b3bee69ab40942d1e7bb7b5 (patch) | |
tree | af7b014921223e84fa265e8380873b261a6719af /bash/bashrc | |
parent | Simplify/clarify history settings (diff) | |
download | dotfiles-49ec7982503778913b3bee69ab40942d1e7bb7b5.tar.gz dotfiles-49ec7982503778913b3bee69ab40942d1e7bb7b5.zip |
Remove unneeded ${...} wraps around array derefs
Arrays can be dereferenced in arithmetic context, which I didn't
realise until I actually tried it. This looks neater.
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 defda393..3aa963d4 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -64,7 +64,7 @@ shopt -s shift_verbose shopt -u sourcepath # These options only exist since Bash 4.0-alpha -if ((${BASH_VERSINFO[0]} >= 4)) ; then +if ((BASH_VERSINFO[0] >= 4)) ; then # Warn me about stopped jobs when exiting shopt -s checkjobs # Autocorrect fudged paths during completion |