5 ms·
I have bound 'pushd -1' to PgUp. function directory_up { pushd -1 zle reset-prompt } zle -N directory-up directory_up bindkey "\e
by ringm 16y ago
I have bound 'pushd -1' to PgUp.
function directory_up {
pushd -1
zle reset-prompt
}
zle -N directory-up directory_up
bindkey "\e[5~" directory-up
Ditto for "pushd +0" and PgDn.