tcsh history and source question (for perlbrew)
Hello all!
First: I am on 10.7.5 and still working on tcsh. I got used to it; so I did not switch to bash ...
When I start the Terminal (shell) I see the previous commands grayed out. How to hinder this?
Doing the following commands:
% echo $history
100
% echo $histfile
histfile: Undefined variable.
and
% history
...
I get the last commands from the actual session. So there must be somewhere a history file, which I am unable to find:
In my home folder are :
.bash_history (I am on tcsh)
.lesshst
.profile
.tcshrc
which have nothing to do, with the tcsh history. And there is no ~/.history or ~/.login ... I looked also into /etc the files
csh.cshrc
csh.login
csh.logout
But no help! I would be gratefull for every hint. My question is:
1. where is my tcsh history file?
2. How to hinder the grayed out history in my tcsh window at start up?
***
Now an other question:
I am only able to start and switch my Perl installation over perlbrew in bash, because in the ~/.bashrc is a source command like follows:
source ~/perl5/perlbrew/etc/bashrc
which points to a long bashscript to enable the start of different Perl versions installed under ~/perl5
putting this line into my ~/.tcshrc source ~/perl5/perlbrew/etc/bashrc throws up the error:
export: Command not found.
Badly placed ()'s.
Probably because the bash script (~/perl5/perlbrew/etc/bashrc) is not excuted in tcsh?
Thank you for your help
marek
MBP 17