diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 12:56:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-20 12:56:53 +1200 |
commit | 77062411d5b0cf9db05dea16e825e991e6184361 (patch) | |
tree | 772295554dbc11a02cc4fe1567dee8d21b85ef26 /bash/bashrc.d/cd.bash | |
parent | Fix dotfiles dir existence test (diff) | |
download | dotfiles-77062411d5b0cf9db05dea16e825e991e6184361.tar.gz dotfiles-77062411d5b0cf9db05dea16e825e991e6184361.zip |
Remove unnecessary quoting in simple assignments
Diffstat (limited to 'bash/bashrc.d/cd.bash')
-rw-r--r-- | bash/bashrc.d/cd.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/cd.bash b/bash/bashrc.d/cd.bash index 282e1649..320d614b 100644 --- a/bash/bashrc.d/cd.bash +++ b/bash/bashrc.d/cd.bash @@ -3,7 +3,7 @@ __cd() { local -a opts while getopts elP opt; do - opts[${#opts[@]}]="-$opt" + opts[${#opts[@]}]=-$opt done shift $(($OPTIND-1)) if (($# == 2)); then |