Skip to content

Instantly share code, notes, and snippets.

@ajile
Created February 26, 2014 14:29
Show Gist options
  • Select an option

  • Save ajile/9230372 to your computer and use it in GitHub Desktop.

Select an option

Save ajile/9230372 to your computer and use it in GitHub Desktop.
My ZSH file
# 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/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# ZSH_THEME="robbyrussell"
# ZSH_THEME="wedisagree"
ZSH_THEME="powerline"
# Example aliases
alias tm="tmux attach || tmux new"
# Show all processes ports
alias portlist="sudo lsof -nPi -sTCP:LISTEN"
# My server
alias massandra="ssh massandra"
# Nginx on mac (installed via homebrew)
alias nginx="/usr/local/Cellar/nginx/1.4.3/bin/nginx"
source /usr/local/bin/virtualenvwrapper.sh
# 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)
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
export DISPLAY=:0.0
export PATH=/opt/local/lib/postgresql92/bin:$PATH
export EDITOR=/usr/bin/vim
export MP_EDITOR=/usr/bin/vim
export LC_ALL="ru_RU.UTF-8"
bindkey -e
bindkey '^[[1;9C' forward-word
bindkey '^[[1;9D' backward-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment