Quantcast
Channel: Open gnome terminal programmatically and execute commands after bashrc was executed - Super User
Viewing all articles
Browse latest Browse all 3

Open gnome terminal programmatically and execute commands after bashrc was executed

$
0
0

For starting my dev environment I wrote a little script. One part is to open a gnome terminal with several tabs where automatically some commands should be executed. Some of those commands depend on an already executed .bashrc. But when using

gnome-terminal --tab -e "command" --tab --tab

the command is executed before .bashrc was executed.Is there a possibility to make an automated gnome-terminal -e behave like a manually used one? (even commands like "cd /foo/bar" do not work with gnome-terminal -e)


Viewing all articles
Browse latest Browse all 3

Trending Articles