mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-30 12:33:37 +08:00
8 lines
256 B
Fish
8 lines
256 B
Fish
# Open the current directory in a new tab
|
|
function tab -d "Open the current directory in a new tab"
|
|
osascript 2>/dev/null -e '
|
|
tell application "System Events"
|
|
tell process "Terminal" to keystroke "t" using command down
|
|
end tell'
|
|
end
|