Skip to content

Commit

Permalink
nvm → n.
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Feb 9, 2016
1 parent f128a49 commit 9344768
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 29 deletions.
File renamed without changes.
18 changes: 2 additions & 16 deletions setup/stuff.sh
Expand Up @@ -41,26 +41,12 @@ brew install ttfautohint fontforge --with-python
brew install msmtp --with-macosx-keyring
brew install mutt --sidebar-patch

# nvm
brew install nvm
mkdir "$HOME/.nvm"
export NVM_DIR="$HOME/.nvm"
source $(brew --prefix nvm)/nvm.sh
nvm install stable
nvm use stable
nvm alias default stable

# Node.js
brew install casperjs
curl -L http://git.io/n-install | bash
npm config set loglevel warn
npm config set save-prefix '~'
npm install -g grunt-cli
npm install -g yo
npm install -g jshint
npm install -g jscs
npm install -g bower
npm install -g docpad
npm install -g npm-check-updates
npm install -g npm-upgrade

# Python
brew install python
Expand Down
5 changes: 0 additions & 5 deletions tilde/bash_profile.bash
@@ -1,5 +0,0 @@
# nvm for JetBrains
if [ -d ~/.nvm ]; then
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
fi
8 changes: 0 additions & 8 deletions tilde/zshrc.zsh
Expand Up @@ -15,21 +15,13 @@ function _prepend_path() {
# Construct $PATH
PATH='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin'
[ -d /usr/local/bin ] && _prepend_path "/usr/local/bin"
[ -d /usr/local/heroku/bin ] && _prepend_path "/usr/local/heroku/bin"
[ -d /usr/local/opt/ruby/bin ] && _prepend_path "/usr/local/opt/ruby/bin"
[ -d /usr/local/share/npm/bin ] && _prepend_path "/usr/local/share/npm/bin"
[ -d /usr/local/opt/coreutils/libexec/gnubin ] && _prepend_path "/usr/local/opt/coreutils/libexec/gnubin"
[ -d ~/dotfiles/bin ] && _prepend_path "$HOME/dotfiles/bin"
[ -d ~/bin ] && _prepend_path "$HOME/bin"
[ -d ~/.nvm ] && _prepend_path "$HOME/.nvm"
export PATH

# nvm
if [ -d ~/.nvm ]; then
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
fi

# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='nano'
Expand Down

0 comments on commit 9344768

Please sign in to comment.