# Shortcut for system file launch tool
alias open=xdg-open

# alias for using emacs when running in server mode
alias em='emacsclient -t'

# Git aliases
#
alias gb='git branch'
alias gba='git branch --all --verbose'
alias gc='git commit --verbose'
alias gco='git checkout'
alias gws='git status --short'
alias gwS='git status'
alias gwd='git diff --no-ext-diff'
alias gwdD='git diff --no-ext-diff --word-diff'
alias gs='git stash'
alias gsa='git stash apply'
alias gia='git add'
alias gid='git diff --no-ext-diff --cached'
alias giD='git diff --no-ext-diff --cached --word-diff'
alias gl='git log --topo-order'


# # Open files cleanly with default program
function open () {
  nohup xdg-open "$*" > /dev/null 2>&1
}

# alias for using emacs when running in server mode
alias em='emacsclient --tty'
alias ema='emacsclient --create-frame --no-wait'

# alias for kubectl via minikube
alias kubectl="minikube kubectl --"

# Git aliases
#
alias gb='git branch'
alias gba='git branch --all --verbose'
alias gc='git commit --verbose'
alias gco='git checkout'
alias gws='git status --short'
alias gwS='git status'
alias gwd='git diff --no-ext-diff'
alias gwdD='git diff --no-ext-diff --word-diff'
alias gs='git stash'
alias gsa='git stash apply'
alias gia='git add'
alias gid='git diff --no-ext-diff --cached'
alias giD='git diff --no-ext-diff --cached --word-diff'
alias gl='git log --topo-order'


Update system default launch shortcut
Update system default launch shortcut

Log all output to /dev/null when launching file in system default
program.

Define useful aliases for emacsclient and kubectl via minikube.
