Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Zhenja Kaluta                        2:5020/400     10 Jan 2003  19:10:30
 To : "Michael de'OZ"
 Subject : Re: zsh history
 -------------------------------------------------------------------------------- 
 
 
 >>>>> "Md" == Michael de'OZ writes:
 
  Md>   Можно ли научить zsh не добавлять в историю команд строку, если
  Md>   последняя
  Md>  строка как раз такая же?  То есть что бы две и более подряд
  Md>  введённые одинаковые команды запоминались как одна?
 
 setopt histignoredups
 или круче 
 setopt histignorealldups
 
 HIST_IGNORE_ALL_DUPS
               If a new command line being added to the history  list  duplicates
               an  older one, the older command is removed from the list (even if
               it is not the previous event).
 
 HIST_IGNORE_DUPS (-h)
               Do not enter command lines into  the  history  list  if  they  are
               duplicates of the previous event.
 --
 Zhenja Kaluta                                            ICQ 74596027
 GnuPG FingerPrint: B86C B548 7CC4 B58F 0CA3  856E 7EE8 52DE E6B7 8725
 --- ifmail v.2.15dev5
  * Origin: SaM Solutions (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 zsh history   Michael de\'OZ   10 Jan 2003 18:16:12 
 Re: zsh history   Oleg O. Ossovitskii   10 Jan 2003 18:41:04 
 Re: zsh history   Eugene B. Berdnikov   10 Jan 2003 20:03:44 
 Re: zsh history   Zhenja Kaluta   10 Jan 2003 19:10:30 
 Re: zsh history   Michael de\'OZ   10 Jan 2003 19:54:48 
 Re: zsh history   Artem Chuprina   10 Jan 2003 21:38:51 
 Re: zsh history   Artem Chuprina   10 Jan 2003 19:39:15 
Архивное /ru.linux/19807c04cd294.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional