From 6e4dbd41b7e92a0afeb7f8d734340760ad099c21 Mon Sep 17 00:00:00 2001 From: Otto Jongerius Date: Sat, 14 Feb 2026 14:12:12 +1300 Subject: [PATCH] Remove stale Chrome defaults and zsh CI exclusion - Remove Google Chrome/Canary settings from osx.sh (not in Brewfile) - Drop dead ./zsh/* exclusion from CI shellcheck (zsh dir removed) - Fix CI to trigger on main instead of master --- .github/workflows/ci.yml | 6 +++--- osx/osx.sh | 20 -------------------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06bf713..7875df6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: lint: @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run ShellCheck - run: find . -name '*.sh' -not -path './zsh/*' -print0 | xargs -0 shellcheck + run: find . -name '*.sh' -print0 | xargs -0 shellcheck test: runs-on: macos-latest diff --git a/osx/osx.sh b/osx/osx.sh index c6cc899..a8cd812 100644 --- a/osx/osx.sh +++ b/osx/osx.sh @@ -398,26 +398,6 @@ defaults write com.apple.messageshelper.MessageController SOInputLineSettings -d # Disable continuous spell checking defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "continuousSpellCheckingEnabled" -bool false -############################################################################### -# Google Chrome & Google Chrome Canary # -############################################################################### - -# Allow installing user scripts via GitHub Gist or Userscripts.org -defaults write com.google.Chrome ExtensionInstallSources -array "https://gist.githubusercontent.com/" "http://userscripts.org/*" -defaults write com.google.Chrome.canary ExtensionInstallSources -array "https://gist.githubusercontent.com/" "http://userscripts.org/*" - -# Disable the all too sensitive backswipe on trackpads -defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false -defaults write com.google.Chrome.canary AppleEnableSwipeNavigateWithScrolls -bool false - -# Disable the all too sensitive backswipe on Magic Mouse -defaults write com.google.Chrome AppleEnableMouseSwipeNavigateWithScrolls -bool false -defaults write com.google.Chrome.canary AppleEnableMouseSwipeNavigateWithScrolls -bool false - -# Use the system-native print preview dialog -defaults write com.google.Chrome DisablePrintPreview -bool true -defaults write com.google.Chrome.canary DisablePrintPreview -bool true - ############################################################################### # Kill affected applications # ###############################################################################