This commit is contained in:
danielwerg 2026-03-26 03:47:40 -04:00 committed by GitHub
commit 8b8a0acea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

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

View file

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