fix(man,tldr): move cursor to end of line after inserting the command (#13186)

This commit is contained in:
danielwerg authored and GitHub committed 2026-11-24 13:28:43 -08:00
1 parent 3943d2f880
commit 89ec2b437b
2 files changed
+2

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ man-command-line() {
else
BUFFER="man ${args[1]}"
fi
zle end-of-line
}
zle -N man-command-line
+1
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