mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 09:51:41 +00:00
Reorganizing plugins so that each plugin has it's own directory now so that any plugin-specific functions can be bundled within there.
This commit is contained in:
11
plugins/osx/osx.plugin.zsh
Normal file
11
plugins/osx/osx.plugin.zsh
Normal file
@ -0,0 +1,11 @@
|
||||
function tab() {
|
||||
osascript 2>/dev/null <<EOF
|
||||
tell application "System Events"
|
||||
tell process "Terminal" to keystroke "t" using command down
|
||||
end
|
||||
tell application "Terminal"
|
||||
activate
|
||||
do script with command "cd \"$PWD\"; $*" in window 1
|
||||
end tell
|
||||
EOF
|
||||
}
|
Reference in New Issue
Block a user