ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@vzljot.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] Re: zsh usability
Date: Mon, 06 Feb 2006 17:22:13 +0300
Message-ID: <43E75B95.5060701@vzljot.ru> (raw)
In-Reply-To: <20060204175317.GA9109@procyon.home>

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

Sergey Vlasov пишет:

<skipped/>

> В принципе можно сделать setopt noprompt_sp, но в этом случае, если
> какая-то программа забыла выдать \n в конце своего вывода, последняя
> строка будет потеряна (если включена опция prompt_cr).
> 
> Если этот "мусор" мешает только при запуске терминала, 

Да, только при запуске.

> можно сделать,
> чтобы опция prompt_sp включалась только после ввода первой команды,
> добавив в ~/.zshrc:
> 
> setopt no_prompt_sp
> 
> preexec()
> {
>     setopt prompt_sp
> }

Супер! Спасибо, работает, как нужно.

-- 
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:[~2006-02-06 14:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 12:03 [Comm] " Vitaly Ostanin
2006-02-04 16:52 ` [Comm] Re: xfterm4 usability Michael Shigorin
2006-02-04 17:53 ` [Comm] zsh usability Sergey Vlasov
2006-02-06 14:22   ` Vitaly Ostanin [this message]
2006-02-06 14:56     ` [Comm] " Терешков Евгений
2006-02-06 15:39       ` Vitaly Ostanin
2006-02-06 16:33         ` Терешков Евгений
2006-02-07 10:38           ` [Comm] Re: [JT] " Vitaly Ostanin
2006-02-07 11:14             ` Терешков Евгений
2006-02-06 15:49       ` [Comm] " Sergey Vlasov

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=43E75B95.5060701@vzljot.ru \
    --to=vyt@vzljot.ru \
    --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