Commit 84428b15 authored by trappn's avatar trappn
Browse files

Update zsgh-wrapper.sh to change directory first (important to locate output files)

parent 48ce8d62
#!/bin/sh
osascript -- - "$1" <<'EOF'
osascript -- - "$1" "$2" <<'EOF'
on run(argv)
#return display notification item 1 of argv
tell application "Terminal"
reopen
activate
do script "zsgh " & quoted form of (item 1 of argv) in window 1
do script "cd " & quoted form of (item 1 of argv) & ";zsgh " & quoted form of (item 2 of argv) in window 1
end tell
end run
EOF
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment