diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-01-27 16:10:41 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-01-27 16:10:41 +0800 |
commit | ae3aa8ecfa10c6e1b044067e9751d9454d8544df (patch) | |
tree | 41a000fd5405a3b3409826e2551dfd0e617913c8 /_zshrc | |
parent | 68ce5e65b657a4cdaa89458b12e56cc1a5ee5899 (diff) | |
download | dotfiles-ae3aa8ecfa10c6e1b044067e9751d9454d8544df.tar.bz2 |
Update (ZSH) shell configuration files.
Diffstat (limited to '_zshrc')
-rw-r--r-- | _zshrc | 34 |
1 files changed, 16 insertions, 18 deletions
@@ -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: # |