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



Hello!

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
like

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!

Jürgen







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