Skip to content

Commit

Permalink
complete (action:file): always suffix "/" to complete symlinked direc…
Browse files Browse the repository at this point in the history
…tory names
  • Loading branch information
akinomyoga committed Jul 6, 2022
1 parent 5907567 commit ebdc58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-complete.sh
Expand Up @@ -170,7 +170,7 @@ function ble/complete/action/util/complete.addtail {
}
function ble/complete/action/util/complete.mark-directory {
[[ :$comp_type: == *:markdir:* && $CAND != */ ]] &&
[[ :$comp_type: == *:marksymdir:* || ! -h $CAND ]] &&
[[ ! -h $CAND || ( $insert == "$COMPS" || :$comp_type: == *:marksymdir:* ) ]] &&
ble/complete/action/util/complete.addtail /
}
function ble/complete/action/util/complete.close-quotation {
Expand Down

0 comments on commit ebdc58b

Please sign in to comment.