Created
June 22, 2013 11:13
-
-
Save matachi/5840491 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
# Init completion | |
autoload -U compinit && compinit | |
compinit | |
# Init custom prompt | |
autoload promptinit | |
promptinit | |
# Init colors for prompt | |
autoload -U colors && colors | |
# Autocompletion with menu | |
zstyle ':completion:*' menu select | |
# Custom prompt | |
PROMPT="%{$fg_bold[yellow]%}%T%{$reset_color%}% %# " | |
RPROMPT="%{$fg_no_bold[yellow]%}%4~%{$reset_color%}" | |
# Some aliases from .bashrc | |
alias ls='ls --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
# Store history | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
HISTFILE=~/.zsh_history | |
# Vi input mode | |
bindkey -v | |
# Enable CTRL-R search | |
bindkey ^R history-incremental-search-backward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment