feat(man,tldr): move cursor to the end of line

This commit is contained in:
danielwerg 2025-06-26 06:25:30 +03:00
commit 3bafaea630
2 changed files with 2 additions and 0 deletions

View file

@ -30,6 +30,7 @@ man-command-line() {
else
BUFFER="man ${args[1]}"
fi
zle end-of-line
}
zle -N man-command-line

View file

@ -11,6 +11,7 @@ tldr-command-line() {
args=(${${(Az)BUFFER}[1]} ${${(Az)BUFFER}[2]})
BUFFER="tldr ${args[1]}"
zle end-of-line
}
zle -N tldr-command-line