2017-03-07 00:20:33 +00:00
|
|
|
# Source antigen
|
|
|
|
source {{ grains.homedir }}/antigen/antigen.zsh
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# Source bashrc
|
|
|
|
source {{ grains.homedir }}/.bashrc
|
|
|
|
|
|
|
|
# Load the oh-my-zsh's library.
|
|
|
|
antigen use oh-my-zsh
|
|
|
|
|
|
|
|
# Bundles from the default repo (robbyrussell's oh-my-zsh).
|
|
|
|
antigen bundle git
|
|
|
|
antigen bundle pip
|
|
|
|
antigen bundle python
|
|
|
|
antigen bundle gitignore
|
|
|
|
antigen bundle zsh_reload
|
|
|
|
antigen bundle command-not-found
|
|
|
|
antigen bundle Tarrasch/zsh-autoenv
|
|
|
|
antigen bundle unixorn/warhol.plugin.zsh
|
|
|
|
|
|
|
|
# Autogenerate OS specific
|
|
|
|
{% if grains['kernel'] == 'Darwin' -%}
|
|
|
|
antigen bundle osx
|
|
|
|
antigen bundle brew
|
|
|
|
{% elif grains['kernel'] == 'Linux' %}
|
|
|
|
antigen bundle colored-man-pages
|
|
|
|
{%- endif %}
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# syntax highlighting bundle.
|
|
|
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# syntax highlighting bundle.
|
|
|
|
antigen bundle zsh-users/zsh-autosuggestions
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# Load the theme.
|
|
|
|
antigen theme robbyrussell
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# Tell antigen that you're done.
|
|
|
|
antigen apply
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# Alias
|
|
|
|
alias ls='grc -s ls'
|
2017-01-14 18:27:15 +00:00
|
|
|
|
2017-03-07 00:20:33 +00:00
|
|
|
# If you come from bash you might have to change your $PATH.
|
|
|
|
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:$PATH
|
2017-01-14 18:27:15 +00:00
|
|
|
|
|
|
|
# User configuration
|
|
|
|
|
|
|
|
# export MANPATH="/usr/local/man:$MANPATH"
|
|
|
|
|
|
|
|
# You may need to manually set your language environment
|
|
|
|
# export LANG=en_US.UTF-8
|
|
|
|
|
|
|
|
# Preferred editor for local and remote sessions
|
|
|
|
if [[ -n $SSH_CONNECTION ]]; then
|
|
|
|
export EDITOR='emacs'
|
|
|
|
else
|
|
|
|
export EDITOR='emacs'
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Compilation flags
|
|
|
|
# export ARCHFLAGS="-arch x86_64"
|
|
|
|
|
|
|
|
# ssh
|
|
|
|
# export SSH_KEY_PATH="~/.ssh/dsa_id"
|
2017-03-07 00:20:33 +00:00
|
|
|
export SSH_KEY_PATH="~/.ssh/id_rsa"
|