up arrow on macos?
This commit is contained in:
3
.zshrc
3
.zshrc
@@ -83,6 +83,8 @@ bindkey '^[e' edit-command-line # Alt+E → edit in $EDITOR
|
|||||||
zinit light zsh-users/zsh-history-substring-search
|
zinit light zsh-users/zsh-history-substring-search
|
||||||
[[ -n ${key[Up]} ]] && bindkey ${key[Up]} history-substring-search-up
|
[[ -n ${key[Up]} ]] && bindkey ${key[Up]} history-substring-search-up
|
||||||
[[ -n ${key[Down]} ]] && bindkey ${key[Down]} history-substring-search-down
|
[[ -n ${key[Down]} ]] && bindkey ${key[Down]} history-substring-search-down
|
||||||
|
bindkey '^[[A' history-substring-search-up
|
||||||
|
bindkey '^[[B' history-substring-search-down
|
||||||
|
|
||||||
ZLE_RPROMPT_INDENT=0
|
ZLE_RPROMPT_INDENT=0
|
||||||
# starship prompt
|
# starship prompt
|
||||||
@@ -108,6 +110,7 @@ path=(
|
|||||||
$HOME/.cargo/bin
|
$HOME/.cargo/bin
|
||||||
/usr/local/go/bin
|
/usr/local/go/bin
|
||||||
$HOME/go/bin
|
$HOME/go/bin
|
||||||
|
/opt/homebrew/bin
|
||||||
$path
|
$path
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user