From 0a226b8af09d20c6e71a767a411844ab23e241cf Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 6 Jan 2016 09:54:56 -0800 Subject: [bash] Update alias for `emacsclient`. Change the default alias for EDITOR to not wait for Emacs (a new frame is created with the file, and the shell is not waiting for the edit to be done). Rename the alias `em` to `et` (for "emacs terminal") to do a quick edit. --- bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index bcb3c51..aa7c701 100644 --- a/bashrc +++ b/bashrc @@ -1,4 +1,4 @@ -export EDITOR="emacsclient -a ''" +export EDITOR="emacsclient -a '' -n" export HISTFILE= export LANG="en_US.UTF-8" export LC_ALL="$LANG" @@ -58,6 +58,8 @@ alias mv="mv -i" alias rm="rm -i" alias e="$EDITOR" +alias et="emacsclient -nw" + alias g="git" alias gclean="git clean -dfx" alias gst="git status" -- cgit 1.4.1