Skip to content

Commit

Permalink
feat(editor): use vscode as the default system-wide editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Deavon M. McCaffery committed Dec 1, 2016
1 parent 3183ee6 commit b2fe9d8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ alias grep="grep --color=auto"
# change ls colors to be more like original unix/linux
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"

# other system settings
export EDITOR='nano'
if type code 1>/dev/null 2>&1; then
export EDITOR='code --wait'
else
export EDITOR='nano'
fi

export HISTCONTROL=ignoredubs

if type brew 1>/dev/null 2>&1; then
Expand Down

0 comments on commit b2fe9d8

Please sign in to comment.