mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
parent
e8605cb3ef
commit
434eabb787
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function __fish_complete_cd -d "Completions for the cd command"
|
||||||
pushd $i
|
pushd $i
|
||||||
for d in (commandline -ct)*/
|
for d in (commandline -ct)*/
|
||||||
# Check if it's accessible - the glob only matches directories
|
# 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
|
end
|
||||||
popd
|
popd
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue