Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Strange behaviour in completion when prompt is colorized
- X-seq: zsh-users 12819
- From: "Gowtham M" <gowthamgowtham@xxxxxxxxx>
- To: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Subject: Strange behaviour in completion when prompt is colorized
- Date: Sun, 4 May 2008 12:48:48 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=cGp0acq9OyBGc0dJfDS27q6J+rzLYAZPMi/Zd/eXnMA=; b=p2boow9kJ6i9sV+vusuZH+8p4gA1OpYUg1Zip8p/ZJ/T6ISmdA4UscZc/ybwOi4fdq9b/fdWdOGy4lzDucMY6WBRgz7znaTYPVEpPL1gpMVof/Q3lfXv6cd16z9ACJXdNWQL43B6pIPlKFIS65wjaVz1EJkfFdll6NAzWgSNyKY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ioRcyv/a1QKjJIuUCVXpYMZts1aXTePt2NTdAyKO8Es1O6vewWVbDNEpkL6TAvKinBwZ/BfGMunjacdo8E9KAQERS3o406PvNdCnEgj3u/QcoaYMlM1wZKjsrM2l9sdPWjo1BPPnC6seyDaMJJLcqsanjtiOt6/MxKxVHu4hnIs=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi, While completing commands/filenames. zsh is inserting some spaces on
the command-line. However, it lists down the possible matches also... How can
I make it not insert these annoying spaces?
For example, if I type pdf at the prompt and hit TAB,
~> pdf<TAB>
The result is:
~> pdf _<-- The cursor is now here!
pdf2dsc pdfetex pdfinfo pdfopt pdftops
pdf2ps pdfevirtex pdfinitex pdfs@ pdftotext
pdfeinitex pdffonts pdfjadetex pdftex pdfvirtex
pdfelatex pdfimages pdflatex pdftopbm pdfxmltex
This is happening only if I add colors to my prompt.
PS1="$fg[default]$fg[red]%c$fg[default]> "
I was using zsh 4.0.7 but this is same with zsh 4.3.6
Thanks
Gowtham
Messages sorted by:
Reverse Date,
Date,
Thread,
Author