aboutsummaryrefslogtreecommitdiffstats
path: root/_zshrc
diff options
context:
space:
mode:
Diffstat (limited to '_zshrc')
-rw-r--r--_zshrc34
1 files changed, 16 insertions, 18 deletions
diff --git a/_zshrc b/_zshrc
index 8078788..cf6e1fc 100644
--- a/_zshrc
+++ b/_zshrc
@@ -1,6 +1,14 @@
+##
## ~/.zshrc
-## ZSH configuration file
+## Zsh configuration file
## oh-my-zsh: http://ohmyz.sh/
+##
+## Zsh reads this file in all interactive shells, whether they are
+## login shells or not.
+##
+## Aaron LI
+## Updated: 2016-01-26
+##
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
@@ -12,10 +20,6 @@ export ZSH=$HOME/.oh-my-zsh
#ZSH_THEME="robbyrussell"
ZSH_THEME="gentoo"
-# Example aliases
-# alias zshconfig="mate ~/.zshrc"
-# alias ohmyzsh="mate ~/.oh-my-zsh"
-
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
@@ -58,29 +62,23 @@ plugins=(fasd git tmux vi-mode)
source $ZSH/oh-my-zsh.sh
-# User configuration
-#export PATH="$HOME/bin:/usr/local/texlive/bin/x86_64-linux:/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"
-# export MANPATH="/usr/local/man:$MANPATH"
+### aliases
+alias e='emacs'
+alias v='vim'
-# 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
+### Preferred editor for local and remote sessions
+if [ -n $SSH_CONNECTION ]; then
export EDITOR='vim'
else
export EDITOR='vim'
fi
-# Compilation flags
-# export ARCHFLAGS="-arch x86_64"
-
-# ssh
-# export SSH_KEY_PATH="~/.ssh/dsa_id"
-# zsh local config
+### Local configurations
if [ -r ~/.zshrc.local ]; then
source ~/.zshrc.local
fi
+# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #