gnome-terminal: How can I automatically set environment variables in new started tab of gnome-terminal( tcsh )?


I want to start gnome-terminal with tcsh end setting automatically
environment variables defined in a file.

e.g  tcsh.env:

# tcsh.env
setenv MY_VAR hello
# end

Of course I can source it manually  before I start gnome-terminal, but
isn't there a way

gnome-terminal -x "source ~/tcsh.env"

or to define it in profile?

I tried several things, but don't get it working.

thanks for some help!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]