diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-26 11:44:45 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-26 11:44:45 +1200 |
commit | 09060039b6416a75f0084392dab1f0259e8174f2 (patch) | |
tree | b11e569a32de7ea2c8f5207db0432db404ff1ba5 /bash/bashrc.d/cd.bash | |
parent | Correct examples a bit (diff) | |
download | dotfiles-09060039b6416a75f0084392dab1f0259e8174f2.tar.gz dotfiles-09060039b6416a75f0084392dab1f0259e8174f2.zip |
Remove unneeded 'in "$@"' for argument iteration
for defaults to iterating over the arguments
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 7d3fd65a..73c75202 100644 --- a/bash/bashrc.d/cd.bash +++ b/bash/bashrc.d/cd.bash @@ -3,7 +3,7 @@ cd() { local arg local -a opts - for arg in "$@" ; do + for arg ; do case $arg in --) shift |