mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-30 13:56:31 -04:00
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:
@@ -5,6 +5,7 @@ full_paths=("$sshyp_path"/**/*.gpg)
|
||||
for scan_path in "${full_paths[@]}"; do
|
||||
trimmed_paths+=("${${scan_path#$sshyp_path}%????}")
|
||||
done
|
||||
[[ -v trimmed_paths ]] || trimmed_paths=(help)
|
||||
|
||||
case ${words[-2]} in
|
||||
sshyp )
|
||||
|
||||
Reference in New Issue
Block a user