From d355f9979367744a458c39531f85e8e64cc13bbf Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 6 Jun 2019 00:37:03 -0400 Subject: [PATCH] bash: add e and se alias for editing files with emacs --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 5928570..bc59480 100644 --- a/.bashrc +++ b/.bashrc @@ -41,6 +41,8 @@ alias mb="mbsync csclub; mbsync uwaterloo; mbsync amin" alias gm="getmail" alias m="mb; gm" alias best="youtube-dl -f best" +alias e="$EDITOR" +alias se="SUDO_EDITOR=\"emacsclient\" sudo -e" aur() { cd ~/usr/builds -- 2.20.1