From ed65d2ed1a49fc416fa079bb90f7c98c0be29c25 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 1 Aug 2017 20:06:38 -0700 Subject: [PATCH] Add zsh config --- cfg/zshrc | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 cfg/zshrc diff --git a/cfg/zshrc b/cfg/zshrc new file mode 100644 index 0000000..8101eca --- /dev/null +++ b/cfg/zshrc @@ -0,0 +1,68 @@ +# Path to your oh-my-zsh installation. +ZSH=/usr/share/oh-my-zsh/ + +# Autojump +source /usr/share/autojump/autojump.zsh + +# ZSH Theme +ZSH_THEME="agnoster" + +# Use case-sensitive completion. +CASE_SENSITIVE="true" + +# Use hyphen-insensitive completion. Case-sensitive completion must be off. +# HYPHEN_INSENSITIVE="true" + +# Disable bi-weekly auto-update checks. +DISABLE_AUTO_UPDATE="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +HIST_STAMPS="yyyy-mm-dd" + +# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git) + + +### User configuration + +export MANPATH="/usr/local/man:$MANPATH" + +export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +export EDITOR='vim' + +# Compilation flags +export ARCHFLAGS="-arch x86_64" + +# ssh +export SSH_KEY_PATH="~/.ssh/rsa_id" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh +if [[ ! -d $ZSH_CACHE_DIR ]]; then + mkdir $ZSH_CACHE_DIR +fi + +source $ZSH/oh-my-zsh.sh