Skip to content

Instantly share code, notes, and snippets.

@webplantmedia
Created November 23, 2020 22:06
Show Gist options
  • Save webplantmedia/a8b636dec1d8acdb027d78c8b188c7e7 to your computer and use it in GitHub Desktop.
Save webplantmedia/a8b636dec1d8acdb027d78c8b188c7e7 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "brew update"
brew update
echo "brew upgrade"
brew upgrade
echo "brew cleanup"
brew cleanup
MACVIMPATHFILE=`find /usr/local -name "MacVim.app"`
if [ ! -L "$MACVIMPATHFILE" ]; then
echo "link MacVim"
MACVIMPATH="$(dirname "${MACVIMPATHFILE}")"
mv $MACVIMPATHFILE /Applications/
ln -s /Applications/MacVim.app $MACVIMPATH
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment