I'm using Xubuntu with XFCE.
I would like to write a bash script which opens a new tab in the xfce4-terminal. In this tab, the bash should be running with an altered PATH
environment variable.
Currently, the shell script looks like that:
xfce4-terminal \
--tab \
--title=GCC \
--command 'bash'
It is opening a new bash-tab in the terminal just like it should. However, I would additionally like this environment variable to be set:
export PATH=/home/manuel/toolchains/gcc-arm-none-eabi-4_9-2014q4/bin:$PATH
I suppose it's possible to provide this command as argument to the bash
command in my shell script. However, even after studying the man page I couldn't figure it out.