-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
73 lines (53 loc) · 1.45 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
67
68
69
70
71
72
# brew
export PATH=/opt/homebrew/bin:$PATH
export PATH=/opt/homebrew/sbin:$PATH
# zsh
export ZSH=~/.oh-my-zsh
ZSH_THEME="robbyrussell"
ZSH_DISABLE_COMPFIX=true
plugins=(git rails)
source $ZSH/oh-my-zsh.sh
source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters
# os
export LC_ALL=en_US.utf-8
export LANG=en_US.utf-8
# default editor
alias vi=nvim
alias vim=nvim
export EDITOR=/opt/homebrew/bin/nvim
# enable tmux color scheme
export TERM=screen-256color
# fzf
export FZF_DEFAULT_COMMAND='ag --hidden -lg ""'
# autojump
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
# asdf
. $HOME/.asdf/asdf.sh
# python
alias python=python3
alias pip=pip3
export PIPENV_VENV_IN_PROJECT=1
# golang
export GOPATH="$HOME/Sites/go"
export PATH="$PATH:$GOPATH/bin"
# elixir
export KERL_CONFIGURE_OPTIONS="--disable-jit"
# kubectl_aliases
[ -f ~/.kubectl_aliases ] && source ~/.kubectl_aliases
kubectl() { echo "+ kubectl $@">&2; command kubectl $@; }
# gcloud
source /opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc
source /opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc
# watch
watch () {
while true
do
$@
fswatch -1r .
clear
sleep 1
done
}
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /opt/homebrew/bin/terraform terraform