zsh: current .alias
This file has all aliases.
~/.aliases
With this it is possible to switch to bash and take all aliases with me.
# all ALIAS is HERE in ~/.aliase
# excepts 'global' ones
# divers
alias zshr='source ~/.zshrc'
alias atom='open -a atom' # open atom with given file
alias backupwww='$HOME/Documents/GitHub/www-backup/start-backup.sh' # s.cc to nas
alias copy='pbcopy; pbpaste' # to clipboard and echo
alias -g G=' | grep -i' # -g means not begin but anywhere else to expand
alias -g GN=' | grep -iv' # grep, -i case insensitive, -v inverted search (NOT)
alias wav='audiowaveform' # ~/Downloads/audiowaveform: wav to waveform as png
# files
alias cdd="cd ~/Downloads/"
alias cdg="cd ~/Documents/GitHub/"
alias dir='dirs -v' # shows dir stack with numbers
alias ll='exa -l'
alias 'du!'='du -sh' # calcs size of given folder as summary - default ./
# git
alias gb='git branch'
alias gap='git add -p'
alias gc='git commit -v'
alias 'gc!'='git commit -v --amend'
alias gcd='git checkout dev'
alias gd='git diff'
alias glb='git log --oneline master..' # git log branch only
alias gll='git log --oneline --graph --all'
alias glll='git log --pretty=format:"%C(yellow)%h %Creset%ad %Cgreen%aN %Cred%d %Creset%s" --date=short --graph --all' # git log w/ date + commiter
alias gr='git reflog'
alias gs='git status'
alias gu='git-unreleased'