kopia lustrzana https://github.com/carlos-algms/composer-and-node-ci
Add navigation through the history with up and down arrows
rodzic
1fb8b4480e
commit
e3dede34ca
9
zshrc
9
zshrc
|
@ -29,3 +29,12 @@ extract () {
|
|||
echo "'$1' is not a valid file!"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# Cycle through history based on characters already typed on the line
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
bindkey "$key[Up]" up-line-or-beginning-search
|
||||
bindkey "$key[Down]" down-line-or-beginning-search
|
||||
|
|
Ładowanie…
Reference in New Issue