-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc
45 lines (33 loc) · 1.03 KB
/
dot_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
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# ZSH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="gnzh"
plugins=(git history-substring-search)
source $ZSH/oh-my-zsh.sh
ZVM_CURSOR_STYLE_ENABLED=false
alias vim="nvim"
alias dc="docker-compose"
alias gti=git
alias sl=ls
alias dc="docker-compose"
alias cat="bat"
# Open current repo in github
alias gh="open \`git remote -v | grep git@github.com | grep fetch | head -1 | cut -f2 | cut -d' ' -f1 | sed -e's/:/\//' -e 's/git@/http:\/\//'\`"
. $HOMEBREW_PREFIX/etc/profile.d/z.sh
# Mysql client
export PATH="/opt/homebrew/opt/mysql-client/bin:$PATH"
# Unversioned python symlinks
# export PATH="/opt/homebrew/opt/python@3.11/libexec/bin:$PATH"
PATH=$(pyenv root)/shims:$PATH
# vim
bindkey -v
export BAT_THEME=gruvbox-dark
function docka {
docker exec -it $1 bash
}
# bun completions
[ -s "/Users/jonathanballs/.bun/_bun" ] && source "/Users/jonathanballs/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"