diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:32:30 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:32:30 +1300 |
commit | c3af0c31efbc23472a103536280a4d839555e198 (patch) | |
tree | 4a60248435bb69dde9f3e4314d56fab67f36e36d /bash/bash_completion.d/sd.bash | |
parent | Adjust loop short circuits and pattern matches (diff) | |
download | dotfiles-c3af0c31efbc23472a103536280a4d839555e198.tar.gz dotfiles-c3af0c31efbc23472a103536280a4d839555e198.zip |
Remove redundant error code in short circuits
Diffstat (limited to 'bash/bash_completion.d/sd.bash')
-rw-r--r-- | bash/bash_completion.d/sd.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/sd.bash b/bash/bash_completion.d/sd.bash index 1194b33a..e7e82f80 100644 --- a/bash/bash_completion.d/sd.bash +++ b/bash/bash_completion.d/sd.bash @@ -2,7 +2,7 @@ _sd() { # Only makes sense for the first argument - ((COMP_CWORD == 1)) || return 1 + ((COMP_CWORD == 1)) || return # Current directory can't be root directory case $PWD in |