Answer the question
In order to leave comments, you need to log in
What is the best way to open a new tab for the current terminal window?
What is the best way to open a new tab for the current terminal window?
I am currently using something like this
if exists xfce4-terminal; then
xfce4-terminal --title=$TITLE -H -e "$1 --port=$PORT" \
--tab --title=$TITLE -e "$2" &
elif exists gnome-terminal; then
gnome-terminal -t $TITLE --tab -e "$1 --port=$PORT" \
--tab -t $TITLE -e "$2" &
else
xterm -T $TITLE -e "$1 --port=$PORT" &
xterm -T $TITLE -e "$2" &
fi
Answer the question
In order to leave comments, you need to log in
I advise you to look at yakuake/guake.
PhpStorm has its own implementation of the terminal, if it can tab, it should be a hotkey.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question