mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 14:45:51 +05:30
Add C-p and C-n to zsh (forward-backward)
This commit is contained in:
parent
b4a99c6090
commit
4469e7c8ff
|
@ -26,6 +26,8 @@ in
|
|||
%F{green}→%f "
|
||||
RPROMPT="%F{red}▂%f%F{yellow}▄%f%F{green}▆%f%F{cyan}█%f%F{blue}▆%f%F{magenta}▄%f%F{white}▂%f"
|
||||
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ '
|
||||
bindkey '^P' history-beginning-search-backward
|
||||
bindkey '^N' history-beginning-search-forward
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue