-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
40 lines (30 loc) · 1.15 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
export ZSH="$HOME/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
source ~/.oh-my-zsh/plugins/git/git.plugin.zsh
# SPACESHIP THEME IS BEST THEME
source /opt/homebrew/opt/spaceship/spaceship.zsh
plugins=(git)
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# z... jump around
. $(brew --prefix)/etc/profile.d/z.sh
# Usseful aliases
alias dc=docker-compose
dockerenter() {
docker exec -it "$1" /bin/bash -c "stty cols $COLUMNS rows $LINES && bash";
}
alias dockenter=dockerenter
# no swearing
eval $(thefuck --alias damnit)
# GFM specific
export NEXT_SKIP_TRANSLATIONS=0
alias blarg='(cd ~/workspace/docker-services; ./scripts/login.sh ecr_user)'
alias token='blarg | grep "s\..*" -o > .vault-token'
alias startup='(cd ~/workspace/local-proxy && dc up -d) && (cd ~/workspace/ssr-frontend/apps/next-app && token && dc up -d)'
export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home
# Wrap brew-file
if [ -f $(brew --prefix)/etc/brew-wrap ];then
source $(brew --prefix)/etc/brew-wrap
fi
source /Users/lukedeniston/.docker/init-zsh.sh || true # Added by Docker Desktop
export PATH="/opt/homebrew/opt/ruby/bin:/Users/lukedeniston/bin:$PATH"