Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'This will reset your history list' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
This will reset your history list
Authored by: patrickoehlinger on Jul 19, '03 04:34:17PM
I like to look up history alote. Removing duplicates (set histdup='prev') did sound good to me. But it did reset my history list. So be aware and make a backup, don't fall in the same hole as I did.
PS.: I set history = 1000 (and set savehist = 1000) so you see how much entries I lost

[ Reply to This | # ]
history list merging
Authored by: sjk on Jul 20, '03 09:27:41PM

I use:

set savehist = ($history merge)

... to merge history events to the saved history list when tcsh exits. Otherwise only the history from last shell that exits is saved, overwriting previously saved history events from other shells.

If you add "merge" the shell takes longer to exit, more noticeably on slower systems.



[ Reply to This | # ]