We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0695e8a commit 2c54a45Copy full SHA for 2c54a45
completions/sshfs
@@ -8,9 +8,10 @@ _comp_cmd_sshfs()
8
_comp_expand || return
9
10
if [[ $cur == *:* ]]; then
11
- _comp_compgen -x scp remote_files -d
12
- # unlike scp and rsync, sshfs works with 1 backslash instead of 3
13
- COMPREPLY=("${COMPREPLY[@]//\\\\\\/\\}")
+ if _comp_compgen -x scp remote_files -d; then
+ # unlike scp and rsync, sshfs works with 1 backslash instead of 3
+ COMPREPLY=("${COMPREPLY[@]//\\\\\\/\\}")
14
+ fi
15
return
16
fi
17
0 commit comments