$ curl -o ~/.shrc https://gist.githubusercontent.com/protosam/74ac72cbbf27c51296a87aa55acab71d/raw/.shrc.sh
$ ln -s ~/.shrc ~/.bashrc
$ ln -s ~/.shrc ~/.zshrc
$ curl -o ~/.profiles.d/kubernetes https://gist.githubusercontent.com/protosam/74ac72cbbf27c51296a87aa55acab71d/raw/profiles.d.kubernetes.sh
$ brew update && brew install openssl
$ brew link --force openssl
$ brew install dsq yq jq helm kubectl krew
$ kubectl krew install node-shell bash bash-completion
$ echo /usr/local/bin/bash | sudo tee -a /etc/shells
$ brew reinstall kubectl
$ echo .DS_Store >> ~/.gitignore_global
$ git config --global core.excludesfile ~/.gitignore_global
To identify which command does what, checkout this this website. What these commands will do is as follows:
- Position the dock on the left
- Hide the dock for more screen space
-
- Toggle dock:
Option
+Command
+d
- Toggle dock:
-
- Access dock, with 3-finger-swipe up and down
- Attempt to reuse the same monitors for the same virtual desktops previously configured. "Virtual desktops" are the workspaces at the top of the 3-finger-swipe screen.
- Disable hot corners.
- Prevent creation of .DS_Store files on network drives.
- Always show hidden files in finder.
- Show the directory path in finder.
$ defaults write com.apple.dock "orientation" -string "left" && killall Dock
$ defaults write com.apple.dock autohide -bool true && killall Dock
$ defaults write com.apple.dock autohide-delay -float 1000 && killall Dock
$ defaults write com.apple.dock no-bouncing -bool TRUE && killall Dock
$ defaults write com.apple.dock "mru-spaces" -bool "false" && killall Dock
$ defaults write com.apple.dock wvous-tl-corner -int 0 && killall Dock
$ defaults write com.apple.dock wvous-tr-corner -int 0 && killall Dock
$ defaults write com.apple.dock wvous-bl-corner -int 0 && killall Dock
$ defaults write com.apple.dock wvous-br-corner -int 0 && killall Dock
$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true && killall Finder
$ defaults write com.apple.finder AppleShowAllFiles -bool TRUE && killall Finder
$ defaults write com.apple.finder "ShowPathbar" -bool "true" && killall Finder
$ xcode-select --install
$ sudo rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install
$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
$ cd /Applications
$ touch Xcode.app