Skip to content

Commit

Permalink
ah, they sunsetted this capability. switch to sparse checkout approac…
Browse files Browse the repository at this point in the history
…h which is better anyway
  • Loading branch information
mattorb committed Oct 31, 2024
1 parent 444b4d0 commit bc2a1b8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions install-osx-desktop-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ ln -sf $(pwd)/hw/atreus/kaleidoscope_with_chrysalis $HOME/.config

ln -sf $(pwd)/hammerspoon $HOME/.hammerspoon

# Ick . . . this works strangely, svn download a sub-dir of a github repo to a dest dir
brew install subversion
svn export https://github.com/mattorb/keyboard/branches/customizations/hammerspoon hammerspoon/keyboard
brew remove subversion

# sparse checkout https://github.com/mattorb/keyboard/branches/customizations/hammerspoon
git clone --filter=blob:none --no-checkout https://github.com/mattorb/keyboard
cd keyboard
git sparse-checkout init --cone
git sparse-checkout set hammerspoon
git checkout customizations
cd ..

is_ci || osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/Hammerspoon.app", hidden:true}' > /dev/null
is_ci || osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/Obsidian.app", hidden:true}' > /dev/null
Expand Down

0 comments on commit bc2a1b8

Please sign in to comment.