diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-11-26 00:07:18 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-11-26 00:07:18 -0800 |
commit | 63a15e232bd598cbba6bfe2c1a5b16ba0d923235 (patch) | |
tree | 63ced37d67001845b6bd230b04c9b65323aabd0c /share | |
parent | cb86b8f8fcf64308b6f4599281c6197c547fa32c (diff) |
Fix indentation in __fish_complete_cd
Diffstat (limited to 'share')
-rw-r--r-- | share/functions/__fish_complete_cd.fish | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/share/functions/__fish_complete_cd.fish b/share/functions/__fish_complete_cd.fish index 64436a21..1975eab2 100644 --- a/share/functions/__fish_complete_cd.fish +++ b/share/functions/__fish_complete_cd.fish @@ -30,13 +30,13 @@ function __fish_complete_cd -d "Completions for the cd command" for i in $mycdpath # Move to the initial directory first, # in case the CDPATH directory is relative - builtin cd $wd ^/dev/null - builtin cd $i ^/dev/null - - if test $status -ne 0 - # directory does not exists or missing permission - continue - end + builtin cd $wd ^/dev/null + builtin cd $i ^/dev/null + + if test $status -ne 0 + # directory does not exists or missing permission + continue + end # What we would really like to do is skip descriptions if all # valid paths are in the same directory, but we don't know how to @@ -49,5 +49,5 @@ function __fish_complete_cd -d "Completions for the cd command" end end - builtin cd $wd ^/dev/null + builtin cd $wd ^/dev/null end |