mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01: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:
parent
7a09175bb4
commit
26d97a9355
13 changed files with 1 additions and 1 deletions
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue