Прежде надо установить: https://github.com/robbyrussell/oh-my-zsh
curl https://gist.github.com/artembeloglazov/4706372/raw/.zshrc > ~/.zshrc
# 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="tjkirch" | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
# Set to this to use case-sensitive completion | |
# CASE_SENSITIVE="true" | |
# Comment this out to disable weekly auto-update checks | |
DISABLE_AUTO_UPDATE="false" | |
# Uncomment following line if you want to disable colors in ls | |
# DISABLE_LS_COLORS="true" | |
# Uncomment following line if you want to disable autosetting terminal title. | |
#DISABLE_AUTO_TITLE="false" | |
# Uncomment following line if you want red dots to be displayed while waiting for completion | |
# COMPLETION_WAITING_DOTS="true" | |
# 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... | |
case $TERM in | |
*screen*) | |
precmd () {echo -en "\033k${HOST}\033\\"} | |
;; | |
esac | |
#Paths | |
export projects='~/Dropbox/projects' | |
#Xdebug settings | |
export XDEBUG_CONFIG="idekey=ECLIPSE_DBGP" | |
# Aliases | |
alias less='less -R' | |
alias drush='~/lib/drush/drush' | |
alias drushdl='drush dl --package-handler=git_drupalorg --gitsubmodule' | |
alias debian_git_push='~/bin/debian_git_push' | |
alias grep='grep --color=always --exclude="*svn*"' | |
alias egrep='egrep --color' | |
alias watch='watch -d' | |
alias phpunit='phpunit --colors -c ./tests/phpunit.xml' | |
alias gitst='git status | colordiff | less -R' | |
alias supervisor='supervisor -- --debug' | |
alias proj='~/Dropbox/Projects' | |
alias mocha-debug='mocha --debug --debug-brk' | |
#init bin environment | |
PATH=$PATH:$HOME/bin:$HOME/bin/init.d:$HOME/.rvm/bin:$HOME/Dropbox/bin | |
# RVM | |
#[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
#rvm use ruby-1.8.7-p358 | |
#source ~/.rvm/scripts/rvm | |
#NVM | |
#[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh # This loads NVM | |
#node_version='0.8.14' | |
#PATH=$PATH::$HOME/nvm/v$node_version/bin | |
#. ~/nvm/nvm.sh | |
#nvm use $node_version |
Прежде надо установить: https://github.com/robbyrussell/oh-my-zsh
curl https://gist.github.com/artembeloglazov/4706372/raw/.zshrc > ~/.zshrc