update Brewfile

This commit is contained in:
Stephen Parkinson
2022-01-25 21:59:23 -08:00
3 changed files with 15 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ brew "exiftool"
brew "sdl2"
brew "ffmpeg"
brew "figlet"
brew "fortune"
brew "gcc"
brew "gdb"
brew "git"
@@ -39,6 +38,8 @@ brew "imagemagick"
brew "jq"
brew "ldid"
brew "libusbmuxd"
brew "libimobiledevice"
brew "llvm"
brew "lolcat"
brew "ruby"
brew "macvim"
@@ -69,6 +70,7 @@ brew "zzz"
cask "adoptopenjdk"
cask "android-platform-tools"
cask "appcleaner"
cask "burp-suite"
cask "daisydisk"
cask "discord"
cask "firefox"
@@ -83,6 +85,10 @@ cask "steam"
cask "visual-studio-code"
cask "wireshark"
cask "xquartz"
cask "handbrake"
cask "minecraft"
cask "rectangle"
cask "zoom"
mas "1Password 7", id: 1333542190
mas "Dark Reader for Safari", id: 1438243180
mas "Deliveries", id: 924726344

View File

@@ -2,10 +2,11 @@
OSTYPE=$(uname -s)
# get package manager up to date
# assume were on ubuntu because thats reasonable
# and get package manager up to date
if [ "$OSTYPE" = "Linux" ]; then
sudo apt update
sudo apt install coreutils zsh net-tools jq -y
sudo apt install coreutils zsh net-tools jq python3-pip -y
sudo apt upgrade -y
elif [ "$OSTYPE" = "Darwin" ]; then
echo "Install Homebrew? [y/n]"
@@ -16,6 +17,9 @@ elif [ "$OSTYPE" = "Darwin" ]; then
fi
fi
# silence login message
touch .hushlogin
# get ohmyzsh setup
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh/

3
zshrc
View File

@@ -30,17 +30,18 @@ if [ "$OSTYPE" = "Darwin" ]; then
source ~/.iterm2_shell_integration.zsh
fi
export EDITOR="/opt/homebrew/bin/vim"
# configure homebrew for arm and x86
if [ "$OSTYPE" = "Darwin" ]; then
ARCH=$(uname -m)
if [ "$ARCH" = "arm64" ]; then
export EDITOR="/opt/homebrew/bin/vim"
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/opt/homebrew/sbin:$PATH"
export PATH="/Users/smparkin/Library/Python/3.9/bin:$PATH"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export PATH="/Users/smparkin/Library/Python/2.7/bin:$PATH"
elif [ "$ARCH" = "x86_64" ]; then
export EDITOR="/usr/local/bin/vim"
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
export PATH="/opt/devkitpro/pacman/bin:$PATH"