Put cursor at the end of accepted search result

This commit is contained in:
Sebastian Gniazdowski 2016-05-22 16:01:50 +02:00
parent f2f3493056
commit b4d189af3f

View file

@ -127,6 +127,7 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
if zle recursive-edit -K zhcw; then
BUFFER="${__hsmw_hcw_found[__hsmw_hcw_index]}"
CURSOR="${#BUFFER}"
fi
zle -M ""