Dotfiles I use with MacOS Sierra mostly for Web Development.
Contains:
- System defaults and Dock icons setup
- Git config with aliases, Git global ignore
- Global aliases
- Functions for homestead, colored
manpage,mkfor making folder and entering it,extractto extract any compressed file,eto read .env file variables inpwd - Custom /etc/hosts file with blocked Ads, Trackers & 🔥 stuff on internet
Inconsolatafont used in PhpStorm, Sublime,Fira Codeused in iTerm2- iTerm2 profile, oh-my-zsh taybalt theme
ssh-managercommand to manage ssh config hosts and keys, including copy public keys to clipboard, transfer to server and more with autocomplete- Packages / CLI (brew, brew cask, dockutil, htop, iftop, openssl, tig, composer, httpie, nmap, php71, git, subversion, node, python3, thefuck, wget, yarn, zsh, zsh-completions)
- Applications (alfred, google-chrome, slack, spotify, sublime-text, vlc, phpstorm, sequel-pro, filezilla, postman, iterm2, teamviewer, lastpass, spectacle, appcleaner, skype)
- Homestead or Valet (installation script will ask you, leave empty for nothing, if homestead is selected virtualbox and vagrant will be installed via brew, if valet mysql will be installed)
dotfilesbinary to manage dotfiles functions with autocomplete
On fresh installation of MacOS:
sudo softwareupdate -i -a
xcode-select --install
Clone and install dotfiles:
git clone https://github.com/mihaliak/dotfiles.git ~/dotfiles
cd ~/dotfiles
git checkout v3.5
cd ~/dotfiles/install
chmod +wx install.sh
chmod -R +wx ~/dotfiles/bin
./install.sh
- Install fonts
- In iterm
Preferences > General > Load preferences from a custom folder or URLand set it to~/dotfiles/iterm - Import PhpStorm settings
sudo reboot- Enjoy
$ dotfiles
→ Usage: dotfiles <command>
Commands:
help This help message
update Update packages and pkg managers (OS, brew, npm, yarn, commposer)
clean Clean up caches (brew, npm, yarn, composer)
symlinks Run symlinks script
brew Run brew script
homestead Run homestead script
valet Run valet script
ohmyzsh Run oh my zsh script
hosts Run hosts script
defaults Run MacOS defaults script
dock Run MacOS dock script
$ ssh-manager
→ Usage: ssh-manager <command>
Commands:
help This help message
list List of all SSH keys and hosts in SSH config
list-keys List of all SSH keys
copy Copy public SSH key
new Generate new SSH key
host Add host to SSH config, use --key to generate new key
remove Remove host from SSH config
list-host List of all hosts in SSH config
Many thanks to the dotfiles community and the creators of the incredibly useful tools.