diff --git a/.gitignore b/.gitignore index 1650e409..b31b93a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .ropeproject -dotfiles/vim/bundle/* \ No newline at end of file +dotfiles/vim/bundle/* +dotfiles/vim/.netrwhist \ No newline at end of file diff --git a/dotfiles/lib/shellrc/functions.sh b/dotfiles/lib/shellrc/functions.sh index 337011a6..142e5213 100644 --- a/dotfiles/lib/shellrc/functions.sh +++ b/dotfiles/lib/shellrc/functions.sh @@ -230,3 +230,10 @@ function ss() { function git_config_string() { git config -f $1 --list | xargs -I kv sh -c "echo "\'kv\'"" } + +function brew_for_multiple_user() { + sudo chgrp -R admin /usr/local + sudo chmod -R g+w /usr/local + sudo chgrp -R admin /Library/Caches/Homebrew + sudo chmod -R g+w /Library/Caches/Homebrew +}