Add brew_relink function

This commit is contained in:
Ivan Malison 2016-08-26 16:37:01 -07:00
parent 5ef6659279
commit 9d0ce5db9f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -199,3 +199,7 @@ function swap_main_screen {
function swap_mirror_swap { function swap_mirror_swap {
mirror -off && swap_main_screen && mirror -on mirror -off && swap_main_screen && mirror -on
} }
function brew_relink {
brew unlink "$1" && brew link "$1"
}