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:
parent
d8f7d8c986
commit
8d2e9d6057
5
.bashrc
5
.bashrc
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user