mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
feat(man,tldr): move cursor to the end of line
This commit is contained in:
parent
01433503c2
commit
3bafaea630
2 changed files with 2 additions and 0 deletions
|
|
@ -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