-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
77 lines (59 loc) · 1.88 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
73
74
75
76
77
# zsh
ZSH_DISABLE_COMPFIX=true
ZSH_THEME="gruvbox"
SOLARIZED_THEME="dark"
plugins=(git npm)
export ZSH="/home/chrisburgin/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
alias ezsh="nvim ~/.zshrc && source ~/.zshrc"
alias szsh="source ~/.zshrc"
# nvim
export PATH=$HOME/local/nvim/bin:$PATH # add nvim to the path
export EDITOR=nvim
alias clearswap="rm -rf ~/.local/share/nvim/swap/*"
# tmux
alias t="tmux a -t"
# mysql
export MYSQL_ROOT_PASSWORD=""
# bat: Used by nvim for file preview. Handled highlighting.
export BAT_THEME="base16"
# ag: Super fast searching.
alias ag='ag --path-to-ignore ~/.ignore'
# fzf: All sort of magic! ctrl-r and ctrl-t to start!
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git --exclude node_modules --exclude dist'
fpath+=${ZDOTDIR:-~}/.zsh_functions
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# backup
alias backup="sh ~/backup/sync.sh"
# golang
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
export GOBIN=$GOPATH/bin
export PATH=$PATH:/usr/local/go/bin
# yarn
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export PATH=$PATH:$HOME/.yarn/bin
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
## B5
export B5BUGSNAG_ENABLED='false'
export B5BUGSNAG_APIKEY=''
export B5THROTTLER_ENABLED='false'
export B5_ASSETS_SURVEY_ORIGIN="https://survey.b5local.com:3333"
export b5dir="~/go/src/go.1password.io/b5/"
alias cdb5="cd $b5dir"
alias b5prep="ds && dcu && make clean all"
alias mtui="make client/web-ui/test"
## Knox
export knoxdir="~/development/knox"
alias cdknox="cd $knoxdir"
# Core
export coredir="~/development/core"
alias cdcore="cd $coredir"
# deno
export DENO_INSTALL="/home/chrisburgin/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
# docker
export PATH=/usr/bin:$PATH