[Pkg-zsh-devel] Bug#663982: zsh: autocompletion does not work anymore after compinit
Martin Steigerwald
ms at teamix.de
Wed Mar 14 15:17:31 UTC 2012
Package: zsh
Version: 4.3.17-1
Severity: important
Dear Maintainer,
auto completion stopped worked since this week. This might be related
to an upgrade of Z-Shell. It is related configuration, with an
empty .zshrc it works. But with the recommended configuration from
the system administrator it does not.
I found it to stop working after compinit. With empty configuration:
mango% cd Infrastruktur/ [aborted with Ctrl-C]
mango% autoload -Uz compinit
mango% cd Infrastruktur/ [aborted with Ctrl-C]
mango% compinit
mango% cd In
No reaction on tab anymore.
But this only happens for *one* user that uses a home directory on NFS.
Neither with root nor with a local user I can reproduce this.
Tab completion worked for the NFS user as well before. I can fix it by
uncommenting compinit from his .zshrc.
This is the .zshrc of the user, but as said it also does not work
with the system admin recommended one.
ms at mango:~> cat .zshrc
# History
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
# Optionen
setopt sharehistory autocd beep extendedglob correct
unsetopt nomatch
# Tastaturbelegung
bindkey -e
# Prompt
PROMPT="%(!,,%n@)%m:%~%(?,,#%?)> "
# Automatische Vervollständigung
#zstyle :compinstall filename '/home/ms/.zshrc'
# Z-Shell Vervollständigung
autoload -Uz compinit
# With compinit not commented out tab completion does not work
#compinit
# Less-Eingabe-Vorverarbeitung
eval $(lesspipe)
# Less-Optionen
export LESS="$LESS -w"
[… exports and aliases …]
Even with this configuration auto completion does not work for the
autocd case. But for the local test user it works also in the autocd
case. For the local test user it also works when I navigate on the
NFS export.
I know it sounds strange, but this is what I observed.
Thanks,
Martin
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages zsh depends on:
ii libc6 2.13-27
ii libcap2 1:2.22-1
ii libtinfo5 5.9-4
Versions of packages zsh recommends:
ii libc6 2.13-27
ii libncursesw5 5.9-4
ii libpcre3 8.12-4
Versions of packages zsh suggests:
pn zsh-doc <none>
-- debconf information:
* zsh/rcmove:
More information about the Pkg-zsh-devel
mailing list