mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 13:57:26 -08:00
parent
130f890b1f
commit
b174c27a5b
|
@ -107,6 +107,13 @@ function _posh-zle-line-init() {
|
|||
|
||||
if [[ "::TRANSIENT::" = "true" ]]; then
|
||||
zle -N zle-line-init _posh-zle-line-init
|
||||
|
||||
# restore broken key bindings
|
||||
# https://github.com/JanDeDobbeleer/oh-my-posh/discussions/2617#discussioncomment-3888718
|
||||
bindkey '^[[A' up-line-or-search
|
||||
bindkey '^[[B' down-line-or-search
|
||||
bindkey '^[[F' end-of-line
|
||||
bindkey '^[[H' beginning-of-line
|
||||
fi
|
||||
|
||||
# legacy functions for backwards compatibility
|
||||
|
|
Loading…
Reference in a new issue