summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-08-16 22:04:10 -0700
committerFranck Cuny <franckcuny@gmail.com>2015-08-16 22:04:10 -0700
commitb83afc775a0e89ee24b750ee565bb0b2cfdc79e8 (patch)
treea84abcb8829d48b4bbd6267a17f123547d45c23b
parent[vim] delete auto-pair for vim. (diff)
downloademacs.d-b83afc775a0e89ee24b750ee565bb0b2cfdc79e8.tar.gz
[bash] add a new alias for git and change EDITOR.
Diffstat (limited to '')
-rw-r--r--bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 6bc2d77..70a4ea6 100644
--- a/bashrc
+++ b/bashrc
@@ -1,4 +1,4 @@
-export EDITOR=vim
+export EDITOR="emacsclient -c -a '' -nw"
 export HISTFILE=
 export LANG="en_US.UTF-8"
 export LC_ALL="$LANG"
@@ -59,6 +59,7 @@ alias rm="rm -i"
 alias e="$EDITOR"
 alias g="git"
 alias gclean="git clean -dfx"
+alias gst="git status"
 
 alias gerp="grep --color=auto"
 alias grep="grep --color=auto"