Skip to content

Commit

Permalink
hosts alias for editing hosts quickly.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Sep 22, 2012
1 parent 4e8fca1 commit e27e34b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ alias slt='open -a "Sublime Text 2"'

# be nice
alias please=sudo
alias hosts='sudo $EDITOR /etc/hosts' # yes I occasionally 127.0.0.1 twitter.com ;)

# handy things
alias bunyip='node ~/code/bunyip/cli.js'
Expand Down
2 changes: 2 additions & 0 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
mkdir -p ~/code/z
curl https://raw.github.com/rupa/z/master/z.sh > ~/code/z/z.sh
chmod +x ~/code/z/z.sh
# also consider moving over your current .z file if possible. it's painful to rebuild :)


# add this to the bash_profile file if it aint there.
# . ~/code/z/z.sh
Expand Down

0 comments on commit e27e34b

Please sign in to comment.