Skip to content

Commit

Permalink
bug fix: remove leading ./ from file completion candidates; see #35
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv committed Jul 6, 2020
1 parent 578711e commit ac8b8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fn/-z4h-comp-files
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
[[ -n $path_prefix ]] && builtin cd -q -- $path_prefix
{
print -lr -- ${(Q)words}
"${cmd[@]}"
"${cmd[@]}" | command cut -b3-
} | {
-z4h-present-files $list_colors $list_types
} | {
Expand Down

0 comments on commit ac8b8e2

Please sign in to comment.