-
Notifications
You must be signed in to change notification settings - Fork 9
/
zshrc
50 lines (36 loc) · 1.5 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
if [[ -o login && -d ~/.dotfiles/.git ]]; then
autoload -U colors && colors
echo -n " $fg[green]∵$reset_color "
GIT_DIR=~/.dotfiles/.git git log --color=always --pretty=format:'%C(yellow)%h %C(red)%ad %C(reset)%s' --date=short 2>/dev/null | head -1
fi
function dotupdate() {
GIT_DIR=~/.dotfiles/.git git pull --ff-only
upgrade_oh_my_zsh
}
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="wadey"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# 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="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
COMPLETION_WAITING_DOTS="true"
DISABLE_AUTO_UPDATE="true"
DISABLE_VENV_CD="1"
# 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 brew osx mvn golang virtualenvwrapper knife rsync urltools screen bgnotify)
ZSH_CUSTOM=~/.zsh
path=(~/bin ~/.dotfiles/bin /usr/local/bin $path)
fpath=(/usr/local/share/zsh-completions $fpath)
fpath=(/usr/local/share/zsh/site-functions $fpath)
if [[ -f "$HOME/.zshlocal" ]]; then
source $HOME/.zshlocal
fi
source $ZSH/oh-my-zsh.sh