1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Use atom instead of subl as the default editor

This commit is contained in:
Holger Just 2018-08-06 20:05:39 +02:00
parent 001cd7ff74
commit a58f873114

View File

@ -78,7 +78,11 @@ case `uname` in
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
export EDITOR="vim"
export BACKGROUND_EDITOR="subl -n"
if type atom >/dev/null 2>&1; then
export BACKGROUND_EDITOR="atom"
else
export BACKGROUND_EDITOR="subl -n"
fi
export SVN_EDITOR="$EDITOR"
alias ls='ls -G'