Skip to content

Instantly share code, notes, and snippets.

View Qetlin's full-sized avatar
👋

Qetlin Qetlin

👋
  • Apparent Intersection
  • Winston Salem
View GitHub Profile
@Qetlin
Qetlin / fresh_install_of_osx.sh
Created October 28, 2021 17:09 — forked from viveksoundrapandi/fresh_install_of_osx.sh
Steps to get "up and running" with new Mac OSX
#!/usr/bin/env bash
##################################
# Install command line dev tools #
##################################
/usr/bin/xcode-select -p > /dev/null 2>&1
if [ $# != 0 ]; then
xcode-select --install
sudo xcodebuild -license accept
fi
@Qetlin
Qetlin / fix-homebrew-owner-perms.sh
Created October 28, 2021 17:08 — forked from stefanschmidt/fix-homebrew-owner-perms.sh
Fix ownership and permissions of a multi-user Homebrew installation
# fix owner of files and folders recursively
sudo chown -vR $(whoami) /usr/local /opt/homebrew-cask /Library/Caches/Homebrew
# fix read/write permission of files and folders recursively
chmod -vR ug+rw /usr/local /opt/homebrew-cask /Library/Caches/Homebrew
# fix execute permission of folders recursively
find /usr/local /opt/homebrew-cask /Library/Caches/Homebrew -type d -exec chmod -v ug+x {} +
@Qetlin
Qetlin / .zshrc
Created October 4, 2021 16:55 — forked from zanshin/.zshrc
My .zshrc file
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#export ZSH_THEME="robbyrussell"
export ZSH_THEME="zanshin"