aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-01-24 17:09:16 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2019-01-24 17:09:16 +0100
commit95a8cfc647e9d018562ef05c846dac005d55df77 (patch)
tree25cbbd1667ca224f869a97e8b8fabe9fa6b878fe /bashrc
parentb030deb9bc34f52abead32da970af75ebdce8f78 (diff)
downloaddotfiles-95a8cfc647e9d018562ef05c846dac005d55df77.tar.gz
dotfiles-95a8cfc647e9d018562ef05c846dac005d55df77.zip
bash: adding the 'e' alias
This alias stands for "editor", and it's a shorthand for $EDITOR. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 1bdad72..000d154 100644
--- a/bashrc
+++ b/bashrc
@@ -33,6 +33,7 @@ source_maybe() {
export EDITOR=emacsclient-a-nw
export VISUAL=emacsclient-a-nw
alias vi=vim
+alias e=$EDITOR
# Shortcut for GNU Emacs.
em() {