mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-09 04:46:12 +10:00
Install io.js & add aliases to switch to io/node
* Install `io.js`. https://iojs.org/en/index.html * Add aliases to easily switch between `io.js` and `Node.js`. https://gist.github.com/phelma/ce4eeeedb8fb9a9e8e63
This commit is contained in:
@@ -139,3 +139,7 @@ alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resource
|
||||
|
||||
# Reload the shell (i.e. invoke as a login shell)
|
||||
alias reload="exec $SHELL -l"
|
||||
|
||||
# Easily switch between `io.js` and `Node.js`
|
||||
alias use-iojs="brew unlink node && brew link --force iojs"
|
||||
alias use-node="brew unlink iojs && brew link --force node"
|
||||
|
||||
Reference in New Issue
Block a user