2011-02-09 15:45:41 -05:00
|
|
|
|
# Path to your oh-my-zsh configuration.
|
2011-08-18 09:56:52 -07:00
|
|
|
|
plugins=(git osx ruby gem github pip rails)
|
2011-02-09 15:45:41 -05:00
|
|
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
|
|
|
|
|
|
# Set to the name theme to load.
|
|
|
|
|
# Look in ~/.oh-my-zsh/themes/
|
|
|
|
|
export ZSH_THEME="risto"
|
|
|
|
|
|
2011-11-07 12:57:06 -08:00
|
|
|
|
export DISABLE_AUTO_UPDATE="true"
|
|
|
|
|
|
2011-02-09 15:45:41 -05:00
|
|
|
|
# Set to this to use case-sensitive completion
|
|
|
|
|
export CASE_SENSITIVE="true"
|
|
|
|
|
export LC_COLLATE='C'
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
2011-08-18 09:56:52 -07:00
|
|
|
|
|
|
|
|
|
export DISABLE_AUTO_UPDATE="true"
|
2011-03-15 10:02:13 -04:00
|
|
|
|
export PYTHONSTARTUP=$HOME/.pystartup
|
2011-02-09 15:45:41 -05:00
|
|
|
|
export LSCOLORS='gxgxcxdxBxegedabagacad'
|
|
|
|
|
|
|
|
|
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
|
|
|
|
|
zstyle ':completion:*' list-colors "=(#b) #([0-9]#)*=36=31"
|
|
|
|
|
setopt COMPLETE_IN_WORD
|
|
|
|
|
# Don't complete stuff already on the line
|
|
|
|
|
zstyle ':completion::*:(rm|vi):*' ignore-line true
|
|
|
|
|
# Don't complete directory we are already in (../here)
|
|
|
|
|
zstyle ':completion:*' ignore-parents parent pwd
|
|
|
|
|
zstyle ':completion::approximate*:*' prefix-needed false
|
|
|
|
|
|
|
|
|
|
expand-or-complete-with-dots() {
|
|
|
|
|
echo -n "\e[31m......\e[0m"
|
|
|
|
|
zle expand-or-complete
|
|
|
|
|
zle redisplay
|
|
|
|
|
}
|
|
|
|
|
zle -N expand-or-complete-with-dots
|
|
|
|
|
bindkey "^I" expand-or-complete-with-dots
|
|
|
|
|
unsetopt LIST_BEEP
|
|
|
|
|
|
2011-08-18 09:56:52 -07:00
|
|
|
|
PROMPT='%{$fg_bold[green]%}%n%{$reset_color%}%{$fg_bold[yellow]%}@%M:%{$fg_bold[blue]%}%~%b $(git_prompt_info)%{$reset_color%}%(!.#.$) '
|
2011-03-15 18:06:24 -04:00
|
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹%B"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%b%{$fg[red]%}›%{$reset_color%}"
|
|
|
|
|
|
2011-02-09 15:45:41 -05:00
|
|
|
|
# Customize to your needs...
|
|
|
|
|
alias ls='ls -pFa --color'
|
|
|
|
|
alias cd..='cd ..'
|
|
|
|
|
|
|
|
|
|
alias smtp='python -m smtpd -n -c DebuggingServer 127.0.0.1:1025'
|
|
|
|
|
alias tlnb='echo "----------------\n"; tail -f logs/newsblur.log'
|
2013-05-20 12:57:45 -07:00
|
|
|
|
alias sshnb='ssh sclay@app10.newsblur.com'
|
2013-04-03 22:33:01 -07:00
|
|
|
|
alias sp='~/newsblur/manage.py shell_plus --use-pythonrc'
|
2011-03-15 18:06:24 -04:00
|
|
|
|
alias cdsg='cd ~/staging'
|
|
|
|
|
alias cdnb='cd ~/newsblur'
|
2013-05-20 12:57:45 -07:00
|
|
|
|
alias sshdo=/srv/newsblur/utils/ssh.sh
|
2011-02-09 15:45:41 -05:00
|
|
|
|
|
2011-03-14 21:44:30 -04:00
|
|
|
|
cd ~/newsblur
|