projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b650848
)
bash: add e and se alias for editing files with emacs
author
Amin Bandali
<bandali@gnu.org>
Thu, 6 Jun 2019 04:37:03 +0000
(
00:37
-0400)
committer
Amin Bandali
<bandali@gnu.org>
Thu, 6 Jun 2019 04:37:03 +0000
(
00:37
-0400)
.bashrc
patch
|
blob
|
blame
|
history
diff --git
a/.bashrc
b/.bashrc
index
5928570
..
bc59480
100644
(file)
--- 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