Launch a GUI app from a terminal in a sane way
For example, to launch emacs and automatically close the terminal. This makes the visual effect that the newly emacs GUI replaces the current terminal, which makes it very very very good loking in tiling WMs.
1. Launch emacsclient
alias ge='emacsclient --socket-name=runit-emacsd -nc; kill $PPID'
2. Compile LaTeX, open PDF, open document.tex in emacs
alias texwork='(make & ; zathura document.pdf & ; emacs document.tex &) && kill $PPID'