function osx-update --description "Update Homebrew, vim plugins, tmux plugins, rvm, npm, OSX"
  # homebrew
  /usr/local/dotfiles/brew.sh

  # Oh my fish! update
  omf update

  # vim plugins
  vim +PluginClean +qall
  vim +PluginUpdate +qall

  # tmux plugin manager
  ~/.tmux/plugins/tpm/bin/clean_plugins
  ~/.tmux/plugins/tpm/bin/update_plugins all

  # rvm
  rvm get stable

  # node packages
  npm update -g --cache-min 60

  # OSX update
  reattach-to-user-namespace mas upgrade
  sudo softwareupdate -i -a
  echo "To reboot: sudo shutdown -r now"
end

function osx-update --description "Update Homebrew, vim plugins, tmux plugins, rvm, npm, OSX"
  # homebrew
  /usr/local/dotfiles/brew.sh

  # Oh my fish! update
  omf update

  # vim plugins
  vim +PluginClean +qall
  vim +PluginUpdate +qall
  vim +GoInstallBinaries +qall

  # tmux plugin manager
  ~/.tmux/plugins/tpm/bin/clean_plugins
  ~/.tmux/plugins/tpm/bin/update_plugins all

  # rvm
  rvm get stable

  # node packages
  npm update -g --cache-min 60

  # OSX update
  reattach-to-user-namespace mas upgrade
  sudo softwareupdate -i -a
  echo "To reboot: sudo shutdown -r now"
end

Install golang binaries for vim-go
Install golang binaries for vim-go

barrettclark/dotfiles,barrettclark/dotfiles