Skip to content

Commit

Permalink
add hostfile
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 13, 2015
1 parent 49bedeb commit caff89a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
Binary file added bin/hostfile
Binary file not shown.
3 changes: 0 additions & 3 deletions shell/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ alias lsd="ls -lF | grep --color=never '^d'"
# Enable aliases to be sudo’ed
alias sudo='sudo '

# Edit your hosts files
alias hostfile="sudo vi /etc/hosts"

# PHP
alias phpspec="vendor/bin/phpspec run"
alias phpunit="vendor/bin/phpunit"
Expand Down
11 changes: 2 additions & 9 deletions shell/.zshrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh

Expand Down Expand Up @@ -39,11 +37,6 @@ plugins=(git laravel4 laravel5 composer osx vagrant)

source $ZSH/oh-my-zsh.sh

# Customize to your needs...
# export PATH=/Applications/MAMP/bin/php/php5.4.26/bin:$PATH
# export PATH=~/spatiecommands:$PATH
# export PATH="$HOME/bin:$PATH"
# export PATH=/Users/$DEFAULT_USER/npm/bin/:$PATH
export=Users/$DEFAULT_USER/.rvm/gems/ruby-2.1.2/bin:$PATH
#set numeric keys
# 0 . Enter
Expand Down Expand Up @@ -82,7 +75,7 @@ unset file
#load rvm
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/.rvm/bin"
. $HOME/.dotfiles/shell/z.sh

#sudoless npm https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
Expand All @@ -93,5 +86,5 @@ PATH="$NPM_PACKAGES/bin:$PATH"
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
MANPATH="$NPM_PACKAGES/share/man:$(manpath)"

#install php5.6 http://jacurtis.com/easily-install-mcrypt-php-mavericks-yosemite/
export PATH=/usr/local/php5/bin:$PATH
export PATH=$HOME/.dotfiles/bin:$PATH

0 comments on commit caff89a

Please sign in to comment.