|
|
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) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/19807c04cd294.html, оценка из 5, голосов 10
|