aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_cd.fish
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-10-07 13:39:42 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-10-07 13:39:42 -0700
commit434eabb7878178a095b8508ccbf5d232461e8d95 (patch)
tree9d66b3fe376941c63d13cc2bbc593edd7e0e1e97 /share/functions/__fish_complete_cd.fish
parente8605cb3ef1b7329c15daa039f0cd3eae35da48c (diff)
Remove errant slash from the end of cd completions
Fixes #2465
Diffstat (limited to 'share/functions/__fish_complete_cd.fish')
-rw-r--r--share/functions/__fish_complete_cd.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_complete_cd.fish b/share/functions/__fish_complete_cd.fish
index 26e469ad..ac871d22 100644
--- a/share/functions/__fish_complete_cd.fish
+++ b/share/functions/__fish_complete_cd.fish
@@ -17,7 +17,7 @@ function __fish_complete_cd -d "Completions for the cd command"
pushd $i
for d in (commandline -ct)*/
# Check if it's accessible - the glob only matches directories
- [ -x $d ]; and printf "%s/\t%s\n" $d $desc
+ [ -x $d ]; and printf "%s\t%s\n" $d $desc
end
popd
end