ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@altlinux.org>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] I: zsh - show dirs first
Date: Thu, 10 Apr 2008 23:03:16 +0400
Message-ID: <47FE6474.6020101@altlinux.org> (raw)
In-Reply-To: <20080410132617.GD9384@hell.fortress>

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

Alexey I. Froloff пишет:
> Я его сделал!
> 
> zstyle ':completion:*' file-patterns '*(-/):directories:directories *(^-/):files:files'
> zstyle ':completion:*:default' list-grouped true

Джедай! :) Смогу ходить - попробую.

<skipped/>

> P.S. mc ненужен.

Я тут недавно пытался в очередной раз сформулировать, зачем же mc
нужен. Так вот, утилиты командной строки рассчитаны на мышление и
действия в таком порядке:

1. Действие
2. Источник
3. Цель

cp source dest

Довольно часто, особенно в запарке, удобнее сначала выбрать
источник, особенно если их несколько, а потом уже действие. Тут
рулит mc. Кроме того, mc сохраняет выбор источников для повторных
действий. Кроме того, mc в удобном виде показывает листинг двух
каталогов.

Например, есть набор фоток в двух разных каталогах. Фотки
пересекаются, нужные, не нужные. В mc можно внимательно выбрать
нужные, потом готовый выбор скопировать в нужные места или удалить.

В общем, в zsh мне не хватает возможности удобного выбора набора
файлов и сохранения этого набора для нескольких действий. То есть
можно выбирать файлы в меню автоподстановки, но сбивается позиция в
списке. И выбор не сохраняется.

Ещё не хватает удобного просмотра содержимого сразу двух каталогов.

Спасибо за инфу! С нетерпением жду дня, когда выкину mc и забуду о
нём навсегда :).

-- 
Regards, Vyt
mailto:  vyt@altlinux.org
JID:     vitaly.ostanin@gmail.com


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

  parent reply	other threads:[~2008-04-10 19:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-10 13:26 Alexey I. Froloff
2008-04-10 13:45 ` Alexey Morsov
2008-04-10 13:47 ` Alexey I. Froloff
2008-04-10 18:37 ` Алексей Синицын
2008-04-10 20:10   ` Alexey I. Froloff
2008-04-10 22:16     ` Alexey I. Froloff
2008-04-11 15:42     ` Алексей Синицын
2008-04-12 16:55     ` Michael Shigorin
2008-04-10 19:03 ` Vitaly Ostanin [this message]
2008-04-12  7:46 ` Alexey I. Froloff
2008-04-12 16:45   ` Michael Shigorin
2008-04-12 17:05     ` Alexey I. Froloff
2008-04-13 15:40   ` Алексей Синицын
2008-04-13 19:36     ` Alexey I. Froloff

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=47FE6474.6020101@altlinux.org \
    --to=vyt@altlinux.org \
    --cc=community@lists.altlinux.org \
    /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