diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-01-06 09:54:56 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-01-06 09:54:56 -0800 |
commit | 0a226b8af09d20c6e71a767a411844ab23e241cf (patch) | |
tree | 45526893b21ddcf3ac42dcd6cbb07601af175394 /bashrc | |
parent | [bash] Change alias for EDITOR. (diff) | |
download | emacs.d-0a226b8af09d20c6e71a767a411844ab23e241cf.tar.gz |
[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.
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 4 |
1 files changed, 3 insertions, 1 deletions
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" |