This commit is contained in:
2014-11-04 06:22:20 -08:00
parent 0e6a74f3f0
commit 4c4bd6c100
4 changed files with 141 additions and 138 deletions

View File

@@ -28,3 +28,8 @@ function _current_dot_directory {
local directory="$(git rev-parse --show-toplevel 2> /dev/null || pwd)"
_dot_directory $directory
}
# Make emacs the default editor.
export EDITOR="emacs -Q"
export ALTERNATE_EDITOR=""
export VISUAL="$EDITOR"

View File

@@ -3,10 +3,6 @@ if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/n
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM=xterm-256color
fi
# Make emacs the default editor.
export EDITOR="$(which emacsclient) -t"
export ALTERNATE_EDITOR=""
export VISUAL="$EDITOR"
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=32768