From 6b560bac84073c813f2cc1777651335fc890f554 Mon Sep 17 00:00:00 2001 From: "Deavon M. McCaffery" Date: Mon, 30 Nov 2015 08:08:37 -0800 Subject: [PATCH] fix(editors): install sublime-text3 instead of sublime-text2 do not set the core editor for git set the default editor to atom in bashrc --- install | 9 ++++----- src/bashrc | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/install b/install index 3d69206..fa28156 100755 --- a/install +++ b/install @@ -63,7 +63,10 @@ if [ "$(uname)" == "Darwin" ]; then git config --system credential.helper osxkeychain - for app in atom visual-studio-code sublime-text textmate; do + echo "Tapping extended versions for caskroom..." + brew tap caskroom/versions 1>/dev/null 2>&1 + + for app in atom visual-studio-code sublime-text3 textmate; do if brew cask list -1 | grep -q "^${app}\$"; then echo "Upgrading $app..." brew cask update ${app} @@ -72,12 +75,8 @@ if [ "$(uname)" == "Darwin" ]; then brew cask install ${app} fi done - - git config --system core.editor "atom --wait" fi -git config --system color.ui true - gitpromptname=git-prompt.sh gitprompt=$LOCAL_PREFIX/etc/bash_completion.d/$gitpromptname gitprompturi=https://raw.githubusercontent.com/lyze/posh-git-sh/master/$gitpromptname diff --git a/src/bashrc b/src/bashrc index 0fca919..9f58ca0 100644 --- a/src/bashrc +++ b/src/bashrc @@ -34,7 +34,7 @@ export CLICOLOR=1 export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd" # other system settings -export EDITOR='nano' +export EDITOR='atom --wait' export HISTCONTROL=ignoredubs if type brew 1>/dev/null 2>&1; then