alias ls='ls --color=auto' alias ll='ls --color=auto -lh' alias diff='diff --color=auto' alias grep='grep --color=auto' alias emacs='emacs -nw' alias magit='et -e "(magit-status \"$(pwd)\")"' alias agenda='et -e "(org-agenda nil \" \")"' alias vimg='vim +Git +only' # Don't save command history command -v topydo > /dev/null && alias t=' topydo' command -v jrnl > /dev/null && alias jrnl=' jrnl' alias gmf='git diff --merge-base' alias gmfn='git diff --merge-base --name-only' command -v pacman > /dev/null && source "$HOME/.arch.aliases" command -v tig &> /dev/null && alias tigs='tig status' alias g='git' if command -v hledger &> /dev/null && \ [ -f "$HOME/.hledger" ]; then alias hledger="$(command -v hledger) @$HOME/.hledger" fi # vim: ft=sh