Created
July 27, 2023 13:12
-
-
Save tesfabpel/79dcbfd55eda009d9857d252603b5e04 to your computer and use it in GitHub Desktop.
My zshrc
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
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
bindkey -e | |
# End of lines configured by zsh-newuser-install | |
# The following lines were added by compinstall | |
zstyle :compinstall filename '~/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall | |
PROMPT="%F{10}%B[%n@%m %f%b%~%B%F{10}]%f%b$ " | |
bindkey '^P' history-search-backward | |
bindkey '^N' history-search-forward | |
bindkey '\e[A' history-search-backward | |
bindkey '\e[B' history-search-forward | |
bindkey '^[[3~' delete-char | |
bindkey ';5D' backward-word | |
bindkey ';5C' forward-word | |
bindkey '^[[1;5D' backward-word | |
bindkey '^[[1;5C' forward-word | |
bindkey '^[[H' beginning-of-line | |
bindkey '^[[F' end-of-line | |
bindkey -s '^[[1;5H' '' | |
bindkey -s '^[[1;5F' '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment