Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

preserving aliases after clearcase command

2 views
Skip to first unread message

ajay

unread,
Jan 29, 2004, 1:46:34 AM1/29/04
to
Hi All,

I'm on Solaris and ksh.
If i execute clearcase commands say for example
"/usr/atria/bin/cleartool setview aksingh"
after that i enter into clearcase shell and all the aliases are lost.
To make them available under clearcase shell i have to source my
.alias file again.
Is there anyway to make aliases available automatically when i enter
into clearcase shell ?

Tx

Florian Stiassny

unread,
Jan 29, 2004, 4:31:01 AM1/29/04
to
In article 3e60...@posting.google.com, ajay_ku...@yahoo.com (ajay) writes:
>Hi All,
>
>I'm on Solaris and ksh.
>If i execute clearcase commands say for example
>"/usr/atria/bin/cleartool setview aksingh"
>after that i enter into clearcase shell and all the aliases are lost.
>To make them available under clearcase shell i have to source my
>..alias file again.

>Is there anyway to make aliases available automatically when i enter
>into clearcase shell ?
>
>Tx

man ct+setview:

-login
Reads in your shell startup file. No error occurs if this
file is missing. Use this option to gain access to your
personal aliases, environment variable settings, and so on

---
\|/
o o
___________________oOO_(_)_OOo______________________________________
Florian Stiassny Florian....@motorola.com


ajay

unread,
Jan 30, 2004, 12:13:01 AM1/30/04
to
f...@xvnews.unconfigured.domain (Florian Stiassny) wrote in message news:<bvajsl$l9l$1...@newshost.mot.com>...

tx Florian,
Just another clearification.
If i give -login option in setview then which dot file it executes ?
.profile, .login or .alias ??
my concern is that we use another script to setview, which wraps the
"cleartool setview" command. This is done to set another environment,
which is different from our local environment. Meaning that this
script avoids local .profile and setup different environment.

So i just want to execute .alias file and certainly not the .profile.

tx

ajay

unread,
Feb 3, 2004, 3:01:46 AM2/3/04
to
ajay_ku...@yahoo.com (ajay) wrote in message news:<2a0aec36.04012...@posting.google.com>...

Hi All,
I found out just putting this line in .profile will work

export ENV=.alias

0 new messages