Complete 'help' if the entry directory is empty or does not exist

Former-commit-id: 1167f06b14ce50baa0c96e67a835247c6579aaa9
Former-commit-id: ea6be360d50c16579253d1e2d0b1825c5a1f1a4a
This commit is contained in:
2023-04-01 23:19:56 -04:00
parent aa65ecf8fb
commit 41c9d0a22b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ _path_gen() {
for path in "${full_paths[@]}"; do
trimmed_paths+=("${path:${#sshyp_path}:-4}")
done
if [ "${trimmed_paths[0]}" == '/**/*' ]; then trimmed_paths[0]=help; fi
} &&
_sshyp_completions() {