diff options
author | Cătălin Mariș <alrraa@gmail.com> | 2015-02-20 18:53:49 +0200 |
---|---|---|
committer | Cătălin Mariș <alrraa@gmail.com> | 2015-02-20 18:53:49 +0200 |
commit | 66bcd860d952abd295c2392572afa38f5e09f0ea (patch) | |
tree | 67a08d6b6892cae0b50c7b4051fec6d735baf5aa /.aliases | |
parent | 1f6ead4fca779e498672a39403aa6926280fdfa0 (diff) | |
download | dotfiles-66bcd860d952abd295c2392572afa38f5e09f0ea.tar.gz dotfiles-66bcd860d952abd295c2392572afa38f5e09f0ea.tar.bz2 dotfiles-66bcd860d952abd295c2392572afa38f5e09f0ea.zip |
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
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |