Skip to content

Commit

Permalink
update brew php formulas, add php switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaliak committed Apr 10, 2018
1 parent 05954e9 commit 8a01895
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Contains:
1. [System defaults](https://github.com/mihaliak/dotfiles/blob/master/macos/defaults.sh) and [Dock icons setup](https://github.com/mihaliak/dotfiles/blob/master/macos/dock.sh)
2. [Git config with aliases](https://github.com/mihaliak/dotfiles/blob/master/dots/.gitconfig), [Git global ignore](https://github.com/mihaliak/dotfiles/blob/master/dots/.gitignore_global)
3. [Global aliases](https://github.com/mihaliak/dotfiles/blob/master/dots/.aliases)
4. [Functions](https://github.com/mihaliak/dotfiles/blob/master/dots/.functions), colored `man` page, `mk` for making folder and entering it, `extract` to extract any compressed file, `e` to read .env file variables in `pwd`
4. [Functions](https://github.com/mihaliak/dotfiles/blob/master/dots/.functions), colored `man` page, `mk` for making folder and entering it, `extract` to extract any compressed file, `e` to read .env file variables in `pwd`, `sphp` to switch php versions using brew-php-switcher with skip for apache
5. Custom [/etc/hosts](https://github.com/mihaliak/dotfiles/blob/master/etc/hosts) file with blocked Ads, Trackers & 🔥 stuff on internet
6. `Inconsolata` font used in PhpStorm, Sublime, `Fira Code` used in iTerm2
7. iTerm2 profile, oh-my-zsh taybalt theme
8. `ssh-manager` command to manage ssh config hosts and keys, including copy public keys to clipboard, transfer to server and more with autocomplete
9. Packages / CLI (brew, brew cask, dockutil, htop, iftop, openssl, tig, composer, nmap, php70, php71, php72, git, subversion, nvm with node/npm (node 6.2 with latest working npm, LTS node with latest working npm), python3, thefuck, wget, yarn, zsh, zsh-completions, sqlmap, aircrack-ng)
9. Packages / CLI (brew, brew cask, dockutil, htop, iftop, openssl, tig, composer, nmap, php70, php71, php72, brew-php-switcher, git, subversion, nvm with node/npm (node 6.2 with latest working npm, LTS node with latest working npm), python3, thefuck, wget, yarn, zsh, zsh-completions, sqlmap, aircrack-ng)
10. Applications (alfred, google-chrome, slack, spotify, sublime-text, vlc, phpstorm, sequel-pro, filezilla, postman, iterm2, teamviewer, lastpass, spectacle, appcleaner, skype)
11. [Valet for web development](https://github.com/laravel/valet)
12. `dotfiles` binary to manage dotfiles functions with autocomplete
Expand All @@ -28,7 +28,7 @@ Clone and install dotfiles:

git clone https://github.com/mihaliak/dotfiles.git ~/dotfiles
cd ~/dotfiles
git checkout v3.10
git checkout v3.11
cd ~/dotfiles/install
chmod +wx install.sh
chmod -R +wx ~/dotfiles/bin
Expand Down
2 changes: 1 addition & 1 deletion bin/dotfiles
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sub_help () {

sub_update () {
sudo softwareupdate -i -a
sudo n lts # install last lts node instance
nvm install --lts --latest-npm # install last lts node instance
brew update
brew upgrade
echo -e "${GREEN}$ARROW Success! Update command finished.${NC}"
Expand Down
3 changes: 3 additions & 0 deletions dots/.functions
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ function code () {
fi
}

function sphp() {
brew-php-switcher "$@" -s
}
20 changes: 4 additions & 16 deletions install/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,10 @@ brew install openssl
brew install tig
brew install composer
brew install nmap
brew install php70
brew install php70-redis
brew install php70-mcrypt
brew install php70-yaml
brew install php70-mongodb
brew unlink php70
brew install php71
brew install php71-redis
brew install php71-mcrypt
brew install php71-yaml
brew install php71-mongodb
brew unlink php71
brew install php72
brew install php72-redis
brew install php72-yaml
brew install php72-mongodb
brew install [email protected]
brew install [email protected]
brew install [email protected]
brew install brew-php-switcher
brew install git
brew install subversion
brew install python3
Expand Down
1 change: 0 additions & 1 deletion install/yarn.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
yarn global add "gulp"
yarn global add "phantomjs"
yarn global add @vue/cli
yarn global add @vue/cli-init

0 comments on commit 8a01895

Please sign in to comment.