This commit is contained in:
danielwerg 2026-06-16 10:11:18 +08:00 committed by GitHub
commit 7b657a8096
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
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