Skip to content

Instantly share code, notes, and snippets.

@saurabhariyan
Last active July 16, 2024 09:09
Show Gist options
  • Save saurabhariyan/4d4e044b3784be7469c4868221b1abcf to your computer and use it in GitHub Desktop.
Save saurabhariyan/4d4e044b3784be7469c4868221b1abcf to your computer and use it in GitHub Desktop.
sudo xcode-select --install\n
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"\n
echo 'PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile\n
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/apple/.zprofile\n
eval "$(/opt/homebrew/bin/brew shellenv)"\n
brew help
brew install --cask \\n qlcolorcode \\n qlstephen \\n qlmarkdown \\n quicklook-json \\n qlprettypatch \\n quicklook-csv \\n betterzip \\n webpquicklook \\n suspicious-package\n
brew install --cask visual-studio-code
brew install --cask iterm2\n
brew install zsh tree\n
brew cleanup zsh tree
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"\n
# take screenshots as jpg (usually smaller size) and not png
defaults write com.apple.screencapture type jpg
# do not open previous previewed files (e.g. PDFs) when opening a new one
defaults write com.apple.Preview ApplePersistenceIgnoreState YES
# show Library folder
chflags nohidden ~/Library
# show hidden files
defaults write com.apple.finder AppleShowAllFiles YES
# show path bar
defaults write com.apple.finder ShowPathbar -bool true
# show status bar
defaults write com.apple.finder ShowStatusBar -bool true
killall Finder;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment