Last active
February 2, 2021 07:57
-
-
Save egore/c0246bc4faa6cb31d29f886f656613f6 to your computer and use it in GitHub Desktop.
zshrc similar to my bash preferences
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HISTFILE=~/.bash_history | |
HISTSIZE=1000000 | |
SAVEHIST=1000000 | |
zstyle :compinstall filename '~/.zshrc' | |
autoload -Uz compinit promptinit | |
compinit | |
promptinit | |
prompt gentoo | |
bindkey "^[[5~" history-beginning-search-backward | |
bindkey "^[[6~" history-beginning-search-forward | |
bindkey "^[[1;5C" forward-word | |
bindkey "^[[1;5D" backward-word | |
bindkey "^[[H" beginning-of-line | |
bindkey "^[[F" end-of-line | |
bindkey "^[[3~" delete-char | |
[[ -f ~/.bash_aliases ]] && . ~/.bash_aliases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment