ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@vzljot.ru>
To: community@altlinux.ru
Subject: [Comm] shell: rotate autocompletions
Date: Wed, 06 Jul 2005 15:16:27 +0400
Message-ID: <42CBBD8B.5020505@vzljot.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

Здравствуйте.

Тут вот пишут про интересные фишки zsh, а мне давно интересна
следующая возможность:

Кого-нибудь из shell можно научить при автодополнении (tab) не
пищать, показывая варианты дополнений, а циклично подставлять в
дополнение возможные варианты?

Скажем:
$ cd /path/to/video/Супер фильма/1.avi

После video/ так лень переключать раскладку, нажимать shift,
искать русскую 'с'. Если в video/ всего несколько подкаталогов,
то лично мне проще ещё пару раз ткнуть tab.

Ещё хотелось бы поиск файлов/катологов, как это сделано в mc:
нажимаешь Ctrl+s, потом за пару нажатий стрелок точно переходишь
к нужному файлу.

Вот это сочетание "Примерный поиск/Уточнение" - единственное, что
держит на mc. Такому можно научить bash/zsh или другой shell ?

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

             reply	other threads:[~2005-07-06 11:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 11:16 Vitaly Ostanin [this message]
2005-07-06 11:25 ` Nick S. Grechukh
2005-07-06 11:34   ` [Comm] " Vitaly Ostanin
2005-07-06 12:18   ` Vitaly Ostanin
2005-07-06 16:38     ` Nick S. Grechukh
2005-07-07  6:08     ` Alexey I. Froloff
2005-07-08 10:50       ` Vitaly Ostanin
2005-07-08 11:02         ` Alexey I. Froloff
2005-07-08 11:11           ` Vitaly Ostanin
2005-07-08 11:15             ` Alexey I. Froloff
2005-07-08 11:24               ` Vitaly Ostanin
2005-07-08 13:46                 ` Michael Shigorin
2005-07-06 12:27 ` [Comm] " Alexey I. Froloff
2005-07-08 10:40   ` [Comm] " Vitaly Ostanin
2005-07-08 13:44     ` Vitaly Ostanin

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=42CBBD8B.5020505@vzljot.ru \
    --to=vyt@vzljot.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