mirror of
https://github.com/meineerde/dotfiles.git
synced 2026-02-06 00:53:23 +00:00
Cleanup $EDITOR definitions
This commit is contained in:
parent
a61feb48e2
commit
01bbaa1f27
16
.bashrc
16
.bashrc
@ -74,19 +74,9 @@ case `uname` in
|
||||
Darwin)
|
||||
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
|
||||
|
||||
# this requires a symlink from "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
|
||||
# into $PATH, e.g. ~/bin/subl
|
||||
if [[ $(which subl) ]]; then
|
||||
export EDITOR="subl -nw"
|
||||
export BACKGROUND_EDITOR="subl -n"
|
||||
export SVN_EDITOR="$EDITOR"
|
||||
alias mate=subl
|
||||
elif [[ $(which mate) ]]; then
|
||||
# if [[ $(which mate) ]]; then
|
||||
export EDITOR="mate -wl1"
|
||||
export BACKGROUND_EDITOR="mate -l1"
|
||||
export SVN_EDITOR="$EDITOR"
|
||||
fi
|
||||
export EDITOR="vim"
|
||||
export BACKGROUND_EDITOR="subl -n"
|
||||
export SVN_EDITOR="$EDITOR"
|
||||
|
||||
alias ls='ls -G'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user