-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases.zsh
40 lines (39 loc) · 1.32 KB
/
aliases.zsh
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
alias .....="cd ../../../.."
alias ....="cd ../../.."
alias ...="cd ../.."
alias ..="cd .."
alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend"
alias ber="bundle exec rake"
alias buc="brew update && brew upgrade && brew cleanup"
alias dco="docker-compose"
alias g='git'
alias ga='git add'
alias gb='git branch'
alias gc='git commit -v'
alias gcb='git checkout -b'
alias gcm='git checkout $(git_main_branch)'
alias gco='git checkout'
alias gd='git diff'
alias gl='git pull'
alias glop="git log -30 --graph --pretty=format:'%h %ad %s (%an)' --date=short"
alias gm='git merge'
alias gp='git push'
alias gpd='git push --dry-run'
alias gpf='git push --force-with-lease'
alias gst='git status'
alias h='history'
alias hsi='hs -i'
alias k="kubectl"
alias l='eza -l --time-style long-iso --git --icons'
alias la='ls -lAh'
alias ll='eza -la --time-style long-iso --git --icons'
alias localip="ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'"
alias ls='eza --icons'
alias mux="tmuxinator"
alias path='echo $PATH | tr -s ":" "\n"'
alias pubip="/usr/bin/dig +short myip.opendns.com @resolver1.opendns.com"
alias tf="terraform"
alias vi="nvim"
alias week='date +%V'
alias yless="jless --yaml"
[[ -f ~/.aliases.local.zsh ]] && source ~/.aliases.local.zsh