-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
72 lines (58 loc) · 1.66 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
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$HOME/go/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git autojump fzf kubectl virtualenv)
source $ZSH/oh-my-zsh.sh
export LANG="en_US.UTF-8"
export LC_ALL=$LANG
alias vim="nvim"
alias vi="nvim"
alias entvim="GOFLAGS=\"-tags=ent,consul-ent,consulent\" vim"
alias enthx="GOFLAGS=\"-tags=ent,consul-ent,consulent\" hx"
export EDITOR="hx"
alias ghb="gh browse -b $(git branch --show-current) $1"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
mcommit=(
"¯\\_(ツ)_/¯"
"¯\\_㋡_/¯"
"(╯°Д°)╯︵/(.□ . \\)"
"(┛◉Д◉)┛彡┻━┻"
"┻━┻︵ \\(°□°)/ ︵ ┻━┻"
"(┛ಠ_ಠ)┛彡┻━┻"
"(ノಠ益ಠ)ノ彡┻━┻"
"(╯°□°)╯︵ ┻━┻"
"(˚Õ˚)ر ~~~~╚╩╩╝"
"ヽ(ຈل͜ຈ)ノ︵ ┻━┻"
"┬─┬ノ( º _ ºノ)"
"(☞゚ヮ゚)☞ ┻━┻"
"┳━┳ ヽ(ಠل͜ಠ)ノ"
"¯\(◉‿◉)/¯"
"¯\(◉◡◔)/¯"
"(⊙_◎)"
"ಠಿ_ಠ"
"(;¬д¬)"
"ಡ_ಡ"
"●_●"
"ಠ﹏ಠ"
"( ͡° ͜ʖ ͡°)"
"༼ つ ◕_◕ ༽つ"
"(ง •̀_•́)ง"
" ༎ຶ‿༎ຶ "
"┏━┓┏━┓┏━┓ ︵ /(^.^/)"
"┳━┳ ヽ(ಠﻝ͜ಠ)ノ"
)
alias c='git commit -a -m "$mcommit[$(( $RANDOM % $#mcommit+1 ))]"'
alias vpy='pip install black mypy flake8 python-lsp-server python-lsp-black'
function cd() {
if [[ -d ./venv ]] ; then
deactivate
fi
builtin cd $1
if [[ -d ./venv ]] ; then
. ./venv/bin/activate
fi
}
alias tf="terraform"
team-times() {
zdump America/Los_Angeles America/Toronto Europe/Amsterdam Europe/London
}