2014-04-12 20:01:03 +00:00
|
|
|
# Path to your oh-my-zsh configuration.
|
|
|
|
ZSH=$HOME/.oh-my-zsh
|
|
|
|
|
|
|
|
# Set name of the theme to load.
|
|
|
|
# Look in ~/.oh-my-zsh/themes/
|
|
|
|
#ZSH_THEME="robbyrussell"
|
|
|
|
|
|
|
|
# Comment this out to disable weekly auto-update checks
|
|
|
|
# DISABLE_AUTO_UPDATE="true"
|
|
|
|
|
|
|
|
# Plugins to load
|
2017-01-04 19:58:06 +00:00
|
|
|
plugins=(git go osx zsh-syntax-highlighting)
|
2014-04-12 20:01:03 +00:00
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
# turn off mostly unhelpful autocorrect
|
|
|
|
unsetopt correct_all
|
|
|
|
|
|
|
|
# Fix Home and End keys
|
|
|
|
bindkey "^[[H" beginning-of-line
|
|
|
|
bindkey "^[[F" end-of-line
|
|
|
|
|
|
|
|
autoload -Uz vcs_info
|
|
|
|
zstyle ':vcs_info:*' enable git svn
|
|
|
|
zstyle ':vcs_info:git*' formats " ± (%b)"
|
|
|
|
zstyle ':vcs_info:svn*' formats " %s (%b)"
|
|
|
|
|
|
|
|
precmd() {
|
|
|
|
vcs_info
|
|
|
|
}
|
|
|
|
|
|
|
|
setopt PROMPT_SUBST
|
|
|
|
|
|
|
|
PROMPT='
|
|
|
|
%F{red}%n@%m%F{red} %F{green}%/%F{yellow}${vcs_info_msg_0_}%f
|
|
|
|
> '
|
|
|
|
|
2017-01-04 19:58:06 +00:00
|
|
|
export EDITOR=nvim
|
2014-04-12 20:01:03 +00:00
|
|
|
|
2016-03-11 02:42:44 +00:00
|
|
|
alias ls='ls -G --color'
|
2014-04-12 20:01:03 +00:00
|
|
|
alias ll='ls -l'
|
|
|
|
alias la='ls -a'
|
|
|
|
|
|
|
|
bindkey '^R' history-incremental-search-backward
|
|
|
|
|
|
|
|
export GOPATH=$HOME/Projects/go
|
|
|
|
|
2016-11-19 15:45:49 +00:00
|
|
|
export PATH=$HOME/bin:$GOPATH/bin:$PATH
|
|
|
|
export PATH=/home/mike/.gem/ruby/2.3.0/bin:$PATH
|
2017-07-06 02:18:27 +00:00
|
|
|
export PATH=/opt/android-studio/bin:/home/mike/.cargo/bin:$PATH
|