mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
parent
1b7b14895b
commit
467428f514
|
@ -42,7 +42,7 @@ if [ "$TERM" != "linux" ]; then
|
|||
_install-omp-hooks
|
||||
fi
|
||||
|
||||
function _render_tooltip() {
|
||||
function self-insert() {
|
||||
# ignore an empty buffer
|
||||
if [[ -z "$BUFFER" ]]; then
|
||||
zle .self-insert
|
||||
|
@ -58,8 +58,7 @@ function _render_tooltip() {
|
|||
}
|
||||
|
||||
function enable_poshtooltips() {
|
||||
zle -N _render_tooltip
|
||||
bindkey " " _render_tooltip
|
||||
zle -N self-insert
|
||||
}
|
||||
|
||||
_posh-zle-line-init() {
|
||||
|
|
Loading…
Reference in a new issue