Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh completion for umount
- X-seq: zsh-users 22048
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Fourhundred Thecat <400thecat@xxxxxx>
- Subject: Re: zsh completion for umount
- Date: Sun, 30 Oct 2016 15:35:37 +0000
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=Ea9huq41KSAhF+WGbfYzYFJjZWw=; b=YNqo7lAxtlZxxyesz8QNj g6QFtSU8Gog38TYRSxiJL3dJbC5Sib6n08DVT9Zdc7KcVzGASBWlwThrocMi/47M oIQ74enXNGzKsSfl/nZFgBeJgu5E8BVOv80r70RzvuS6IKTHMdjDYmJhnsnGJUSK UDaKK8qNzOC9PPrnVM9+sM=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=Ea9huq41KSAhF+WGbfYzYFJjZWw=; b=fHL4H6+QksgFaXI5PtvL ynBxPz/1ZA8WcOUgMulDjbqRK16g60fRKq25U22TYMIfKOBwJDDw65Eb2fl52FIj Y/vvTz9TUhNfguqlDk2FHt9iyOYrhTtnhR3g7pB2eW2OveKaBexDNwYhezrz9FfY 8UmVnnskALbIA41LhipVgoE=
- In-reply-to: <5815DDAB.8070307__40712.3355348178$1477828401$gmane$org@gmx.ch>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <5815DDAB.8070307__40712.3355348178$1477828401$gmane$org@gmx.ch>
Fourhundred Thecat wrote on Sun, Oct 30, 2016 at 12:46:51 +0100:
> Hello,
>
> I have /mnt/mmc/ mounted. When I cd to /mnt/ and want to use
> autocompletion to umount mmc:
>
> cd /mnt/
> umount m<tab>
>
> Nothing happens. Completion does not complete anything.
Try «umount ./m<TAB>».
Making it work for «umount m<TAB>» too shouldn't be too hard.
> Similarly, for mount, the completion does not complete for -o
>
> mount -o <tab>
> mount -o l<tab>
>
> Nothing.
>
Are you sure you have completion enabled (run «autoload compinit;
compinit»)? What's the output of «echo $OSTYPE» on your system? I get
45 matches when I do «mount -o <TAB>» on linux.
> The completion file Unix/_mount has 1000 lines, yet the very basic
> completion does not work.
>
> I have switched to zsh from bash recently. While I like the fancy
> features that zsh has, I am increasingly frustrated that basic
> functionality does not work.
>
> Why does bash get completions right, and zsh doesn't ?
> Don't these problems bother nobody else ?
The problems may well be specific to your setup, especially considering
you've only recently started using zsh. If some functionality bothers
you, describe the problem and we can see about solving it.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author