This AppleScript opens the current Finder folder in your terminal of choice.
Find line 30 and update the terminal path and flags:
do shell script "/opt/homebrew/bin/alacritty --working-directory " & quoted form of dirPath & " -e zsh -c " & quoted form of shellCommand & " >/dev/null 2>&1 &"Replace /opt/homebrew/bin/alacritty --working-directory with your terminal's path and working directory flag.
For iTerm2: Replace line 30 with:
tell application "iTerm"
activate
create window with default profile
tell current session of current window
write text "cd " & quoted form of dirPath
end tell
end tellFor macOS Terminal: Replace line 30 with:
tell application "Terminal"
activate
do script "cd " & quoted form of dirPath
end tellFor Kitty:
do shell script "/opt/homebrew/bin/kitty --working-directory " & quoted form of dirPath & " >/dev/null 2>&1 &"For WezTerm:
do shell script "/opt/homebrew/bin/wezterm start --cwd " & quoted form of dirPath & " >/dev/null 2>&1 &"For Alacritty (different install location):
Common paths: /opt/homebrew/bin/alacritty, /usr/local/bin/alacritty, ~/Applications/Alacritty.app/Contents/MacOS/alacritty, or find the location of your claude by using the command which claude
This AppleScript opens the current Finder folder in Claude Code within your terminal of choice.
Find line 27 and update your username:
set shellCommand to "/Users/{Your local user name}/.npm-global/bin/claude -c || /Users/{Your local user name}/.npm-global/bin/claude; exec zsh"Replace {Your local user name} with your actual macOS username.
If Claude is installed elsewhere, replace the entire path. Common locations:
~/.npm-global/bin/claude(default npm global)/usr/local/bin/claude~/.local/bin/claude/opt/homebrew/bin/claude
Find line 27 and update the terminal path:
do shell script "/opt/homebrew/bin/alacritty --working-directory " & quoted form of dirPath & " -e zsh -c " & quoted form of shellCommand & " >/dev/null 2>&1 &"For iTerm2: Replace line 27 with:
tell application "iTerm"
activate
create window with default profile
tell current session of current window
write text "cd " & quoted form of dirPath & " && " & shellCommand
end tell
end tellFor macOS Terminal: Replace line 27 with:
tell application "Terminal"
activate
do script "cd " & quoted form of dirPath & " && " & shellCommand
end tellFor Kitty:
do shell script "/opt/homebrew/bin/kitty --working-directory " & quoted form of dirPath & " -e zsh -c " & quoted form of shellCommand & " >/dev/null 2>&1 &"For WezTerm:
do shell script "/opt/homebrew/bin/wezterm start --cwd " & quoted form of dirPath & " -- zsh -c " & quoted form of shellCommand & " >/dev/null 2>&1 &"This AppleScript opens the current Finder folder in Visual Studio Code.
This script works out of the box for standard VS Code installations. It uses the open -a command to launch VS Code with the current Finder directory.
Find line 27 and update the path:
do shell script "open -a '/Applications/Visual Studio Code.app' " & quoted form of dirPathReplace /Applications/Visual Studio Code.app with your VS Code installation path.
Common alternative locations:
~/Applications/Visual Studio Code.app(user-specific install)/Applications/VSCodium.app(VSCodium variant)/Applications/Visual Studio Code - Insiders.app(Insiders build)
This script opens your .zshrc file in a terminal editor, then automatically reloads it after you save and exit.
-
Choose your terminal - Find line 20 and change
alacrittyto one of:alacritty- Alacritty terminaliterm- iTerm2terminal- Default macOS Terminalkitty- Kitty terminalwezterm- WezTerm
-
Choose your editor - On the same line, change
nvimto:nvim- Neovimvim- Vimnano- Nano editormicro- Micro editor
alacritty --working-directory "$HOME" \
-e zsh -c 'nvim ~/.zshrc; status=$?; if [ $status -eq 0 ]; then source ~/.zshrc; fi' >/dev/null 2>&1Replace the entire command block (lines 20-21) with:
osascript -e "tell application \"iTerm\"
activate
create window with default profile
tell current session of current window
write text \"nvim ~/.zshrc && source ~/.zshrc && echo '✅ Reloaded ~/.zshrc'\"
end tell
end tell" &(Replace nvim with your preferred editor)
Replace the entire command block (lines 20-21) with:
osascript -e "tell application \"Terminal\"
activate
do script \"nvim ~/.zshrc && source ~/.zshrc && echo '✅ Reloaded ~/.zshrc'\"
end tell" &(Replace nvim with your preferred editor)
Replace with:
kitty --working-directory "$HOME" zsh -c 'nvim ~/.zshrc && source ~/.zshrc && echo "✅ Reloaded ~/.zshrc"' &Replace with:
wezterm start --cwd "$HOME" -- zsh -c 'nvim ~/.zshrc && source ~/.zshrc && echo "✅ Reloaded ~/.zshrc"' &