-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
38 lines (32 loc) · 902 Bytes
/
.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
# defaults
export LC_ALL=en_US.UTF-8
export TERM=xterm-256color
# programs
export PATH=/usr/local/bin:$PATH
export PATH=~/.npm-global/bin:$PATH
export PATH=~/bin:$PATH
export PATH=/opt/homebrew/bin:$PATH
export PATH=/opt/homebrew/opt/node@20/bin:$PATH
# init oh my zsh aliases first
export ZSH=/Users/andrew/.oh-my-zsh
ZSH_THEME="robbyrussell"
DISABLE_AUTO_UPDATE="true"
plugins=(git)
ZSH_DISABLE_COMPFIX=true
source $ZSH/oh-my-zsh.sh
# common aliases
alias vi="nvim"
alias h="htop"
alias d="cd ~/dotfiles/"
alias work="cd ~/work/"
alias dps="docker ps"
# Git aliases
alias gca1="git commit -a -v --amend"
alias gp="git push origin HEAD"
alias g="tig"
alias save="git add .;git commit -a -m 'Update'"
# AWS aliases
alias aws-config="aws configure sso"
alias aws-login="aws sso login --profile ProfileName"
alias aws-creds="vi ~/.aws/credentials"
# this is a shared file so DON'T put secrets here