#!/usr/bin/env bash

PERSONAL=$(! grep -Fq "xamarin" "${HOME}/.npmrc"; echo $?)
echo "${PERSONAL}"

## Brew
brew update
brew install bash bash-completion coreutils git gnupg gpg-agent hub node@8 pinentry-mac watchman wget

## Cask
brew tap caskroom/versions
brew cask install bartender docker google-chrome-canary spectacle visual-studio-code-insiders
if [ $PERSONAL -eq 0 ]; then
  echo "PERSONAL"
  brew cask install dropbox now steam
else
  echo "WORK"
  brew cask install firefoxnightly iina microsoft-teams onedrive
fi
#!/usr/bin/env bash

# Brew
brew update
brew install bash bash-completion coreutils git gnupg gpg-agent hub node@8 pinentry-mac wget

# Cask
brew tap caskroom/versions
brew cask install bartender docker dropbox google-chrome-canary spectacle visual-studio-code-insiders
--- 
+++ 
@@ -1,9 +1,19 @@
 #!/usr/bin/env bash
 
-# Brew
+PERSONAL=$(! grep -Fq "xamarin" "${HOME}/.npmrc"; echo $?)
+echo "${PERSONAL}"
+
+## Brew
 brew update
-brew install bash bash-completion coreutils git gnupg gpg-agent hub node@8 pinentry-mac wget
+brew install bash bash-completion coreutils git gnupg gpg-agent hub node@8 pinentry-mac watchman wget
 
-# Cask
+## Cask
 brew tap caskroom/versions
-brew cask install bartender docker dropbox google-chrome-canary spectacle visual-studio-code-insiders
+brew cask install bartender docker google-chrome-canary spectacle visual-studio-code-insiders
+if [ $PERSONAL -eq 0 ]; then
+  echo "PERSONAL"
+  brew cask install dropbox now steam
+else
+  echo "WORK"
+  brew cask install firefoxnightly iina microsoft-teams onedrive
+fi
Support personal and work casks in dotfiles
