Skip to content

Commit a20ec17

Browse files
committed
build: add configure-launchagents recipe for tmux and pty plist setup
Generated-by: aiautocommit
1 parent 3a6caa8 commit a20ec17

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Justfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ sync:
2121
list-quicklook:
2222
qlmanage -m plugins
2323

24+
configure-launchagents:
25+
# tmux first
26+
# TODO link to blog post
27+
cp ./tmux.plist ~/Library/LaunchAgents/mikebianco.tmux.plist
28+
tmux kill-server
29+
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/mikebianco.tmux.plist
30+
31+
sudo cp ./pty.plist /Library/LaunchDaemons/mikebianco.pty.plist
32+
sudo launchctl bootstrap system /Library/LaunchDaemons/mikebianco.pty.plist
33+
2434
pull-ide-integration:
2535
cp ~/Library/Application\ Support/Code/User/{settings,keybindings}.json .vscode/
2636
cp ~/Library/Application\ Support/Cursor/User/{settings,keybindings}.json .cursor/

0 commit comments

Comments
 (0)