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

Open new window when using atom as $EDITOR

This commit is contained in:
Holger Just 2018-08-07 16:28:28 +02:00
parent d8f7d8c986
commit 8d2e9d6057

View File

@ -39,10 +39,11 @@ export HISTSIZE=1000
export HISTFILESIZE=""
shopt -s histappend >/dev/null 2>&1
export EDITOR="vim"
if type atom >/dev/null 2>&1; then
export BACKGROUND_EDITOR="atom"
export BACKGROUND_EDITOR="atom -n"
export EDITOR="atom -nw"
else
export EDITOR="vim"
export BACKGROUND_EDITOR="subl -n"
fi
export SVN_EDITOR="$EDITOR"