#!/usr/bin/env bash 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 et='emacsclient -a "" -t' alias ec='nohup emacsclient -a "" -c &!' alias mu4e='emacs -nw -f mu4e' alias agenda='emacs -nw -f org-agenda' alias nb='cd ~/journals; vim index.md; cd -' alias todo='cd ~/journals; vim gtd.md; cd -' alias vimg='vim +Git +only' alias gmf='git diff --merge-base' alias gmfn='git diff --merge-base --name-only' if [ -f /usr/bin/pacman ]; then alias S='sudo pacman -S' alias Si='pacman -Si' alias Ss='pacman -Ss' alias Syu='sudo pacman -Syu' alias Rs='sudo pacman -Rs' alias Rns='sudo pacman -Rns' alias Q='pacman -Q' alias Qi='pacman -Qi' alias Qm='pacman -Qm' alias Qs='pacman -Qs' alias Qu='pacman -Qu' fi if [ -f /usr/bin/paru ]; then alias Sa='paru -Sa' alias Sia='paru -Sia' alias Ssa='paru -Ssa' alias Syua='paru -Syua' alias Rsa='paru -Rsa' alias Rnsa='paru -Rnsa' alias Qa='paru -Qa' alias Qia='paru -Qia' alias Qma='paru -Qma' alias Qsa='paru -Qsa' alias Qua='paru -Qua' fi