Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Turn off completion of users
- X-seq: zsh-users 10578
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Turn off completion of users
- Date: Thu, 03 Aug 2006 09:42:46 -0700
- In-reply-to: <20060803155512.GC1118@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060803155512.GC1118@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Aug 3, 8:55am, Ulrich Spoerlein wrote:
}
} There is a user 'proxy' on my system, when I now try to 'cd' into a
} directory, let's call it 'profiles' the file/dir completion will offer
} me 'proxy' as an alternative.
}
} I think the Completion/Unix/_users might be responsible, is there a way
} to selectively disable this completion scheme?
It's not really _users, it's _cd -- you have setopt cdablevars, and the
_cd function therefore attempts to expand anything that can come after
a tilde, even if the tilde is not explicitly present. I think the call
tree is _cd -> _tilde -> _users.
This came up at least once before, try searching the archives.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author