mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
cleanup works, and lacks the finder wonkiness
This commit is contained in:
parent
ca447667f9
commit
13832fd04c
1 changed files with 2 additions and 8 deletions
|
|
@ -38,9 +38,7 @@ if [[ $TERM_PROGRAM != iTerm.app ]]; then
|
||||||
end tell"
|
end tell"
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
osascript -e " tell app \"Finder\"
|
osascript -e " tell application \"iTerm\"
|
||||||
activate
|
|
||||||
tell application \"iTerm\"
|
|
||||||
make new terminal
|
make new terminal
|
||||||
tell the front terminal
|
tell the front terminal
|
||||||
activate current session
|
activate current session
|
||||||
|
|
@ -50,12 +48,8 @@ else
|
||||||
end tell
|
end tell
|
||||||
end tell
|
end tell
|
||||||
end tell
|
end tell
|
||||||
tell application \"Finder\"
|
|
||||||
activate
|
|
||||||
end tell
|
|
||||||
tell application \"iTerm\"
|
tell application \"iTerm\"
|
||||||
activate
|
activate
|
||||||
end tell
|
|
||||||
end tell "
|
end tell "
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue