OVH Cloud OVH Cloud

historique tcsh

2 réponses
Avatar
Thomas
comment augmenter le nb de lignes dont tcsh se souvient ?

on m'a dit qu'il fallait mettre "set savehist=256" dans mon .tcshrc ,
mais ça marche pas :-((

2 réponses

Avatar
Saïd
Thomas :
comment augmenter le nb de lignes dont tcsh se souvient ?

on m'a dit qu'il fallait mettre "set savehist%6" dans mon .tcshrc ,
mais ça marche pas :-((


extrait du man tcsh :

savehist
If set, the shell does istory -S' before exit-
ing. If the first word is set to a number, at
most that many lines are saved. (The number must
be less than or equal to history.) If the second
word is set to
erge', the history list is merged
with the existing history file instead of replac-
ing it (if there is one) and sorted by time stamp
and the most recent events are retained. (+)


donc essayer en faisant set history%6

--
Saïd.

Avatar
Thomas
Thomas :
comment augmenter le nb de lignes dont tcsh se souvient ?

on m'a dit qu'il fallait mettre "set savehist%6" dans mon .tcshrc ,
mais ça marche pas :-((


extrait du man tcsh :

savehist
If set, the shell does istory -S' before exit-
ing. If the first word is set to a number, at
most that many lines are saved. (The number must
be less than or equal to history.) If the second
word is set to
erge', the history list is merged

with the existing history file instead of replac-
ing it (if there is one) and sorted by time stamp
and the most recent events are retained. (+)


donc essayer en faisant set history%6


merci :-)
ce bout du man c'est trop compliqué pour moi, mais avec history ça
marche :-)