From 957ee2d2fac274fbc860efb4e34227ffa0a1b70e Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Tue, 14 Feb 2023 21:06:28 -0500 Subject: [PATCH] Updated some scripts and configuration --- Makefile | 8 ++++++++ macOS/.config/macOS/AppStore.Brewfile | 2 -- macOS/.config/macOS/Casks.Brewfile | 17 +++++++++-------- scripts/scripts/ncis | 11 +++++++++++ zsh/config/.zshrc | 2 -- 5 files changed, 28 insertions(+), 12 deletions(-) create mode 100755 scripts/scripts/ncis diff --git a/Makefile b/Makefile index 1faacc0..e18fa55 100644 --- a/Makefile +++ b/Makefile @@ -45,3 +45,11 @@ stow: # Order matters, need to install home-brew first then formula bootstrap: bootstrap-homebrew bootstrap-brews bootstrap-casks stow bootstrap-non-brews bootstrap-app-store open ~/Downloads + +# make a local zsh configuration file, to extend +# the normal .zshrc for configuration that is only +# relevant on the local machine. +zshrc-local: + touch "$(PWD)/zsh/config/.zshrc-local" + vim "$(PWD)/zsh/config/.zshrc-local" + diff --git a/macOS/.config/macOS/AppStore.Brewfile b/macOS/.config/macOS/AppStore.Brewfile index 10c46a4..e15bb32 100644 --- a/macOS/.config/macOS/AppStore.Brewfile +++ b/macOS/.config/macOS/AppStore.Brewfile @@ -1,4 +1,2 @@ mas "pwSafe", id: "520993579" -mas "Xcode", id: "497799835" mas "Home Assistant", id: "1099568401" -mas "Vimari", id: "1480933944" diff --git a/macOS/.config/macOS/Casks.Brewfile b/macOS/.config/macOS/Casks.Brewfile index f84ab3b..8b8d9fb 100644 --- a/macOS/.config/macOS/Casks.Brewfile +++ b/macOS/.config/macOS/Casks.Brewfile @@ -1,12 +1,13 @@ tap "homebrew/cask" # casks -cask "docker" -cask "google-chrome" -cask "iterm2" -cask "microsoft-teams" -cask "obs" -cask "paw" -cask "rectangle" -cask "sketchup-pro" +cask "docker" # development containers +cask "google-chrome" # certain processes work better in chrome +cask "iterm2" # terminal application +#cask "microsoft-teams" +#cask "obs" # video / recording tools +cask "onyx" # macOS utilities +cask "rapidapi" # API utility +cask "rectangle" # Window management +cask "sketchup-pro" # 3D modeling diff --git a/scripts/scripts/ncis b/scripts/scripts/ncis new file mode 100755 index 0000000..a9fb6e9 --- /dev/null +++ b/scripts/scripts/ncis @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +# Creates a new `zet` inside the House Call Pro `Zettlekasten` + +_main() { + (ZETDIR="$HOME/Documents/NCISummit" eval zet "$@") +} + +_main "$@" diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index bc9bbde..6a64b1a 100644 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -99,8 +99,6 @@ fpath_prepend() { # last arg will be first in path path_prepend \ - "/usr/local/sbin" \ - "/usr/local/bin" \ "/opt/homebrew/bin" \ "/opt/homebrew/sbin" \ "$HOME/.local/bin" \