From: "Pavel N. Solovyov" <pavel@stai.pssr.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: zsh: coloured menu selection
Date: Wed, 13 Jul 2005 07:59:29 +0600
Message-ID: <20050713075929.68a1cdb6.pavel@stai.pssr.ru> (raw)
In-Reply-To: <42D3E2AA.9090301@vzljot.ru>
On Tue, 12 Jul 2005 19:32:58 +0400
Vitaly Ostanin wrote:
> > Суть вопроса в том, что когда я набираю "history", то мне
> > выводится
> > список последних 20 команд. Миша предложил набирать "history -100",
> > чтобы вывести список последних 100 (200, 500) команд.
> > Мне бы хотелось, чтобы где-то в настройках указать, чтобы по
> > умолчанию
> > выводился список последних ХХХ команд. И найти _где_ и _что_ я не
> > могу.
>
> alias history="history -XXX"
> только потом явное указание -YYY не срабатывает.
Хорошо, несколько переформулирую вопрос: как сделать, чтобы по
умолчанию history показывала _всю_ историю и чтоб при этом срабатывало
явное указание -YYY?
Дело в том, что изредка, например, приходится приходится монтировать
многосессионный диск, записанный неизвестно чем и на чём. Каждый раз
лезть в man mount лень и в этом смысле "hisrory |grep session" сильно
облегчает жизнь. И если я укажу alias history="history -500", а
монтировал диск 501 шаг назад, то получу облом-с. Поэтому и хочется,
чтобы по "hisrory |grep ..." бралась вся история...
--
Успехов. Павел.
next prev parent reply other threads:[~2005-07-13 1:59 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-08 14:04 [Comm] " Vitaly Ostanin
2005-07-08 14:22 ` [Comm] " Vitaly Ostanin
2005-07-11 10:09 ` [Comm] [SUMMARY] " Alexey I. Froloff
2005-07-11 10:30 ` [Comm] " Vitaly Ostanin
2005-07-11 10:46 ` Alexey I. Froloff
2005-07-11 12:56 ` Alexey I. Froloff
2005-07-11 14:51 ` [Comm] " Michael Shigorin
2005-07-11 14:55 ` Алексей Синицын
2005-07-11 10:34 ` [Comm] Re: [SUMMARY] " Vitaly Ostanin
2005-07-11 10:47 ` Alexey I. Froloff
2005-07-11 11:43 ` Vitaly Ostanin
2005-07-11 12:04 ` Alexey I. Froloff
2005-07-11 13:53 ` Vitaly Ostanin
2005-07-11 15:00 ` Alexey I. Froloff
2005-07-11 16:00 ` Vitaly Ostanin
2005-07-11 16:12 ` Vitaly Ostanin
2005-07-12 9:59 ` Alexey I. Froloff
2005-07-12 10:40 ` Vitaly Ostanin
2005-07-12 11:39 ` Alexey I. Froloff
2005-07-12 12:42 ` Vitaly Ostanin
2005-07-12 13:09 ` Alexey I. Froloff
2005-07-12 13:31 ` Vitaly Ostanin
2005-07-13 5:24 ` Alexey I. Froloff
2005-07-13 9:04 ` Vitaly Ostanin
2005-07-13 9:14 ` Alexey I. Froloff
2005-07-13 10:34 ` Vitaly Ostanin
2005-07-13 10:47 ` Alexey I. Froloff
2005-07-13 10:56 ` Vitaly Ostanin
2005-07-13 11:18 ` Alexey I. Froloff
2005-07-13 12:05 ` Vitaly Ostanin
2005-07-12 12:45 ` Grigory Fateyev
2005-07-11 12:53 ` [Comm] " Andrey Rahmatullin
2005-07-11 13:29 ` Alexey I. Froloff
2005-07-11 13:38 ` Andrey Rahmatullin
2005-07-11 13:56 ` Andrey Rahmatullin
2005-07-11 14:47 ` [Comm] [wiki] " Michael Shigorin
2005-07-12 14:26 ` Andrey Rahmatullin
2005-07-12 18:12 ` [Comm] Re: [wiki] zsh Michael Shigorin
2005-07-13 3:49 ` Andrey Rahmatullin
2005-07-13 5:30 ` Michael Shigorin
2005-07-12 4:18 ` [Comm] [SUMMARY] zsh: coloured menu selection Andrey Rahmatullin
2005-07-12 7:59 ` Alexey I. Froloff
2005-07-12 8:16 ` [Comm] " Vitaly Ostanin
2005-07-12 9:01 ` [Comm] " Michael Shigorin
2005-07-12 9:30 ` [Comm] Re: [SUMMARY] " Pavel N. Solovyov
2005-07-12 9:34 ` Alexey I. Froloff
2005-07-12 12:28 ` [Comm] " Michael Shigorin
2005-07-12 13:13 ` Alexey I. Froloff
2005-07-12 15:04 ` Pavel N. Solovyov
2005-07-12 15:32 ` Vitaly Ostanin
2005-07-13 1:59 ` Pavel N. Solovyov [this message]
2005-07-13 5:29 ` Michael Shigorin
2005-07-13 5:30 ` Alexey I. Froloff
2005-07-13 5:34 ` Michael Shigorin
2005-07-13 5:44 ` Alexey I. Froloff
2005-07-13 16:23 ` Pavel N. Solovyov
2005-07-13 5:22 ` Alexey I. Froloff
2005-07-13 5:29 ` Michael Shigorin
2005-07-12 14:04 ` Maxim Tyurin
2005-07-12 18:10 ` Michael Shigorin
2005-07-12 18:55 ` Maxim Tyurin
2005-07-12 19:01 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050713075929.68a1cdb6.pavel@stai.pssr.ru \
--to=pavel@stai.pssr.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git