zsh-users
 help / color / mirror / code / Atom feed
From: Mats Ahlgren <mats_a@MIT.EDU>
To: Peter Stephenson <pws@csr.com>
Cc: zsh-users@sunsite.dk
Subject: Re: various buggy behaviors in zsh out-of-the-box on Suse
Date: Wed, 6 Jun 2007 06:30:25 -0400	[thread overview]
Message-ID: <200706060630.25841.mats_a@mit.edu> (raw)
In-Reply-To: <200706060901.l5691Kcg012120@news01.csr.com>

Hello, thanks for replying; you've helped solve almost all my problems.

Apparently I *did* make a few modifications and forgot about them... I feel ridiculous about my previous default behavior comment, sorry.
Still have one questions if you'd be so kind:

On Wednesday 06 June 2007 05:01:20 Peter Stephenson wrote:
> Mats Ahlgren wrote:
> > Hello,
> > 
> > I recently installed zsh and have noticed some very odd behavior -- could any
> > one please help?
> > 
> > =================================
> > 1) Bugged auto-tabbing behavior
> > 
> > As you can see, autocompletion indents the line 22 characters to the
> > right.
> 
> This looks like either a bad terminal definition, or the shell is badly
> linked to the curses library or its equivalent, or there are funny
> characters in the prompt which is confusing the shell (the prompt you
> show looks pretty simple but if it's something more complicated
> try PS1="%# ").

# excerpt from .zshrc

# COLORIZE PROMPT
autoload colors; colors

# Prompt
PS1="
$bg[black]$fg[blue]%B%#%b $fg[white]%B"


 Apparently using the variables $bg[...] and $fg[...], etc., seems to be causing this bug. Might you or anyone have any insight as to why?

> > 3) Annoying autocomplete behavior: 
> > 
> > If I have the following things in a directory:
> > test/
> > test.tgz
> > 
> > And I type "te[tab]" to autocomplete, it autocompletes to test/ without ever 
> > giving me the option to complete as test.tgz. Is there a way to achieve this 
> > like in bash?
> 
> This isn't the default behaviour, so something is setting an option to
> turn it on.  You may find hitting <TAB> again cycles to the other file.
> Look at the options in the "Completion" section of the zshoptions manual
> for hints.  MENU_COMPLETE or REC_EXACT are possibilities, depending
> exactly what it's doing.
> 

Apparently I was looking for "auto_menu" -- problem solved.

Many thanks,
Mats


  reply	other threads:[~2007-06-06 10:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1181087811.1134.ezmlm@sunsite.dk>
2007-06-06  0:13 ` Mats Ahlgren
2007-06-06  2:09   ` Matt Wozniski
2007-06-06  9:01   ` Peter Stephenson
2007-06-06 10:30     ` Mats Ahlgren [this message]
2007-06-06 10:40       ` Peter Stephenson
2007-06-06 10:45         ` Mats Ahlgren

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=200706060630.25841.mats_a@mit.edu \
    --to=mats_a@mit.edu \
    --cc=ahlgren@MIT.EDU \
    --cc=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).