From a373a5ab37edb2dbaaa44b0a8bfd62a7e654b2f4 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Wed, 15 Dec 2021 08:19:48 -0500 Subject: [PATCH] Added rectangle to casks --- macOS/.config/macOS/Casks.Brewfile | 3 ++- zsh/.config/zsh/zsh-aliases | 3 +++ zsh/.config/zsh/zsh-exports | 9 +++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/macOS/.config/macOS/Casks.Brewfile b/macOS/.config/macOS/Casks.Brewfile index 2e7be6c..f84ab3b 100644 --- a/macOS/.config/macOS/Casks.Brewfile +++ b/macOS/.config/macOS/Casks.Brewfile @@ -1,5 +1,5 @@ tap "homebrew/cask" - + # casks cask "docker" cask "google-chrome" @@ -7,5 +7,6 @@ cask "iterm2" cask "microsoft-teams" cask "obs" cask "paw" +cask "rectangle" cask "sketchup-pro" diff --git a/zsh/.config/zsh/zsh-aliases b/zsh/.config/zsh/zsh-aliases index 03c86fe..d38e9db 100644 --- a/zsh/.config/zsh/zsh-aliases +++ b/zsh/.config/zsh/zsh-aliases @@ -19,3 +19,6 @@ alias gco() { git checkout "$@" } alias gma() { git add . && git commit -m "$1" } alias gs() { git status } +# move back to old cwd +alias bk() { cd "$OLDPWD" } + diff --git a/zsh/.config/zsh/zsh-exports b/zsh/.config/zsh/zsh-exports index 33abbcf..027c0a6 100644 --- a/zsh/.config/zsh/zsh-exports +++ b/zsh/.config/zsh/zsh-exports @@ -5,8 +5,12 @@ HISTFILE=$ZDOTDIR/history # Allow useful scripts in ~/.bin to be in the search path. export PATH=~/.bin:$PATH -export PATH=/opt/homebrew/bin:$PATH -export PATH=/opt/homebrew/sbin:$PATH + +# Add homebrew to the path +if [ -d /opt/homebrew ]; then + export PATH=/opt/homebrew/bin:$PATH + export PATH=/opt/homebrew/sbin:$PATH +fi # zsh-completions installed by homebrew if type brew &>/dev/null; then @@ -17,3 +21,4 @@ if type brew &>/dev/null; then fi export EDITOR="nvim" +