I ran gnome-terminal --working-directory=$DIR
but it opens in a new window, not tab.
Things I've tried:
--tab
-T
--add-tab
Running RHEL5 with zsh
gnome-terminalzsh
I ran gnome-terminal --working-directory=$DIR
but it opens in a new window, not tab.
Things I've tried:
--tab
-T
--add-tab
Running RHEL5 with zsh
Best Answer
Verbatim copy of the only way to do this that I've ever seen, using
Source: Open a new tab in gnome-terminal using command linexdotool
,xprop
, &wmctrl
.This will auto determine the corresponding terminal and opens the tab accordingly.