From 9d0ce5db9fa7a755d74fd92c4562ce98a5ce5871 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 26 Aug 2016 16:37:01 -0700 Subject: [PATCH] Add brew_relink function --- dotfiles/lib/shellrc/osx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/lib/shellrc/osx.sh b/dotfiles/lib/shellrc/osx.sh index d8869f6d..1c41ee73 100644 --- a/dotfiles/lib/shellrc/osx.sh +++ b/dotfiles/lib/shellrc/osx.sh @@ -199,3 +199,7 @@ function swap_main_screen { function swap_mirror_swap { mirror -off && swap_main_screen && mirror -on } + +function brew_relink { + brew unlink "$1" && brew link "$1" +}