Created
March 9, 2018 09:39
-
-
Save mattcanty/f9a281a57a3963823a4786df7b81c9c2 to your computer and use it in GitHub Desktop.
Mac Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go get -u github.com/jtyr/gbt/cmd/gbt | |
export GBT_CAR_DIR_DEPTH='2' | |
export GBT_CAR_SIGN_WRAP='1' | |
PS1='$(gbt $?)' | |
sourceCodeUrl="$(curl -s https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest | rq -j 'at "assets" | spread | find (a => a.name == "SourceCodePro.zip") | at browser_download_url' | awk -F'","' -v OFS=, '{$1=$1;gsub(/^"|"$/,"")}1')" | |
curl -fsSL "$sourceCodeUrl" -o /tmp/sourceCodePro.zip | |
unzip /tmp/sourceCodePro.zip -d "$HOME/Library/Fonts/" | |
curl -fsSL "https://s3-eu-west-1.amazonaws.com/record-query/record-query/x86_64-apple-darwin/rq" -o "$HOME/bin/rq" | |
chmod +x "$HOME/bin/rq" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -fsSL https://s3.amazonaws.com/itsycal/Itsycal.zip -o /tmp/itsycal.zip | |
unzip /tmp/itsycal.zip -d "$HOME/Applications" | |
defaults write com.apple.menuextra.clock DateForm -string "HH:mm" | |
defaults write com.mowglii.ItsycalApp ShowMonthInIcon -int 1 | |
defaults write com.mowglii.ItsycalApp ShowDayOfWeekInIcon -int 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment