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 #!/bin/sh
osascript -- - "$1" <<'EOF' osascript -- - "$1" "$2" <<'EOF'
on run(argv) on run(argv)
#return display notification item 1 of argv #return display notification item 1 of argv
tell application "Terminal" tell application "Terminal"
reopen reopen
activate 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 tell
end run end run
EOF EOF
......
Supports Markdown
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