-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
66 lines (48 loc) · 1.51 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# The following lines were added by compinstall
zstyle :compinstall filename '/Users/tim/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=1000
unsetopt beep
bindkey -e
# End of lines configured by zsh-newuser-install
if [ -d ~/.oh-my-zsh ]; then
source ~/.zshrc-from-oh-my-zsh
else
echo "Can't find oh-my-zsh! You should install it"
fi
fpath=(/usr/local/share/zsh-completions $fpath)
# Path includes ~/bin and macports dirs
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH
# For homebrew, set /usr/local/bin before /usr/bin
export PATH="/usr/local/bin:$PATH"
export EDITOR='vim'
# RUBY
alias be='bundle exec'
alias ber='bundle exec rake'
alias ys='yard server -g'
alias r='./bin/rails'
# JS
alias nr='npm run'
# General Development
alias g='git'
alias dc='docker-compose'
alias dce='docker-compose exec'
alias tf='terraform'
# Heroku functions
hprod () { heroku $* --remote heroku-prod; }
hstag () { heroku $* --remote heroku-staging; }
hrev () { heroku $* --remote heroku-review-parent; }
PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin # Add Heroku's postgres app
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
# ASDF version manager - see https://github.com/asdf-vm/asdf
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
source ~/.zshrc.local
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
if [ -f ~/.env.d/artifactory ]; then . ~/.env.d/artifactory; fi