Skip to content

Instantly share code, notes, and snippets.

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable
@albertogarrido
albertogarrido / git_branch_status_prompt.sh
Created September 23, 2015 18:27
Show git branches on terminal prompt. With branch status in color, time and current directory.
## SOURCE & CREDIT: http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt
## lines 9 & 10 fix for mac os x found in SO
## customizations: 24h time and change colors :)
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
source /usr/local/git/contrib/completion/git-completion.bash
source /usr/local/git/contrib/completion/git-prompt.sh