Created
May 31, 2016 04:27
root .zshrc
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
#!/bin/zsh | |
# completion | |
autoload -U compinit | |
compinit | |
zstyle ':completion:*' menu select | |
setopt MENU_COMPLETE | |
# correction | |
setopt correctall | |
# history | |
export HISTFILE=~/.zhistory | |
export HISTSIZE=50000 | |
export SAVEHIST=50000 | |
setopt histignoredups | |
setopt extendedhistory | |
setopt incappendhistory | |
# history search & completion | |
autoload history-search-end | |
bindkey "^[[A" history-search-backward | |
bindkey "^[[B" history-search-forward | |
# prompt | |
autoload -U promptinit | |
promptinit | |
prompt adam2 | |
# aliases | |
alias ls='ls --color=auto' | |
# safety features | |
alias cp='cp -i' | |
alias mv='mv -i' | |
alias rm='rm -I' | |
alias ll='ls -l' | |
alias st='git status' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment