Last active
September 28, 2020 17:13
-
-
Save ak-seyam/3187f639698a65e6aef6fb22e620a379 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# History in cache directory: | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
HISTFILE=~/.cache/zsh/history | |
# auto comp | |
autoload -Uz compinit && compinit | |
zstyle ':completion:*' menu select | |
zmodload zsh/complist | |
compinit | |
_comp_options+=(globdots) | |
# My minimal prompt | |
autoload -Uz vcs_info | |
precmd() { vcs_info } | |
zstyle ':vcs_info:git:*' formats '@ [%b]' | |
setopt PROMPT_SUBST | |
RPROMPT=\$vcs_info_msg_0_ | |
PROMPT="%~> " | |
# word moving zsh | |
bindkey ';5C' forward-word | |
bindkey ';5D' backward-word | |
# emacs bindkey | |
bindkey -e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment