-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
50 lines (42 loc) · 1.07 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
export ZSH=$HOME/.oh-my-zsh
export EDITOR=nvim
export ZSH_THEME="bureau"
export DOTFILES_DIR=$HOME/.dotfiles
export PATH="/usr/local/sbin:$PATH"
export PATH=$PATH:~/.nodenv/bin
plugins=(colorize rbenv fasd web-search bundler jira)
source $ZSH/oh-my-zsh.sh
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
work_script="$HOME/work/config/work_aliases.sh"
if [ -f $work_script ]; then
source $work_script
fi
alias cat='bat'
alias f='fixops'
alias g='hub'
alias j='jrnl'
alias ls='ls -GF'
alias q='nvim ~/work/questions.txt'
alias t='tmux'
alias ta='tmux a -t'
alias todo='nvim ~/work/todo.txt'
alias ts='tmux new-session -s'
alias v='nvim'
alias vi='nvim'
alias work='tmuxinator start work'
alias z='fasd_cd -d'
alias pr='hub pull-request'
alias c='thor'
alias mt='git mergetool'
alias clear_dns='sudo killall -HUP mDNSResponder'
# fix the fucking touch bar
ftftb() {
pkill "Touch Bar agent"
killall ControlStrip
}
weather() {
curl http://wttr\.in/$1
}
alias j8="JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/"
eval "$(rbenv init -)"
eval "$(nodenv init -)"