mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Merge 3bafaea630 into 99b243b9a9
This commit is contained in:
commit
14b381cb4b
2 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ man-command-line() {
|
|||
else
|
||||
BUFFER="man ${args[1]}"
|
||||
fi
|
||||
zle end-of-line
|
||||
}
|
||||
|
||||
zle -N man-command-line
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue