#!/usr/bin/env bash alias emacs='emacs -nw' alias mu4e='emacs -nw -f mu4e' alias magit='emacs -nw -f magit' alias nb='cd ~/journals; vim index.md; cd -' alias todo='cd ~/journals; vim gtd.md; cd -' alias vimg='vim +Git +only' [ -f /usr/bin/xdg-open ] && alias open='xdg-open' if [ -f /usr/bin/pacman ]; then alias S='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' fi if [ -f /usr/bin/yay ]; then alias Sia='yay -Sia' alias Ssa='yay -Ssa' alias Syua='yay -Syua' alias Rsa='yay -Rsa' alias Rnsa='yay -Rnsa' fi