-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.zshrc
More file actions
81 lines (67 loc) · 1.67 KB
/
.zshrc
File metadata and controls
81 lines (67 loc) · 1.67 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# spinner
revolver --style 'simpleDots' start
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
source ~/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles
antigen bundles <<EOBUNDLES
rupa/z
git
git-extras
git-flow-avh
laravel
laravel5
composer
heroku
npm
node
meteor
command-not-found
supercrabtree/k
zsh-users/zsh-autosuggestions
history-substring-search
zsh-users/zsh-syntax-highlighting
desyncr/vagrant-zsh-completion
felixr/docker-zsh-completion
git-flow
unixorn/autoupdate-antigen.zshplugin
ubuntu
djui/alias-tips
colorize
emoji
sublime
thefuck
web-search
tonietto/show-version
tonietto/aliases
EOBUNDLES
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the theme.
# antigen theme fwalch
antigen bundle tonietto/purity
# Tell antigen that you're done.
antigen apply
# User configuration
export PATH="/usr/local/heroku/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/bin:/usr/games"
# nodengine and show-version
cd () { builtin cd "$@" && chpwd; }
pushd () { builtin pushd "$@" && chpwd; }
popd () { builtin popd "$@" && chpwd; }
chpwd () {
local PKG
PKG=$PWD/package.json
if [ -f "$PKG" ] && [ "$NODENGINE_LAST_DIR" != "$PWD" ]; then
nodengine
show-version
printf "\033[36m%s\033[0m \033[90m%s\033[0m\n" "nodengine" "$(node --version)"
NODENGINE_LAST_DIR=$PWD
fi
}
#The Fuck
eval "$(thefuck --alias)"
export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin" # Added by n-install (see http://git.io/n-install-repo).
# spinner
revolver stop