zsh-users
 help / color / mirror / code / Atom feed
From: Fourhundred Thecat <400thecat@gmx.ch>
To: zsh-users@zsh.org
Cc: Daniel Shahaf <d.s@daniel.shahaf.name>
Subject: Re: zsh completion for umount
Date: Sun, 30 Oct 2016 20:38:09 +0100	[thread overview]
Message-ID: <58164C21.9090505@gmx.ch> (raw)
In-Reply-To: <20161030153537.GB12137@fujitsu.shahaf.local2>

> On 2016-10-30 16:35, Daniel Shahaf wrote:
> 
> Try «umount ./m<TAB>».

does not work

> 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.

I have completion enabled in my .zshrc:

  autoload -Uz compinit
  compinit -D

running "autoload compinit" again does not make any difference.

  echo $OSTYPE
  linux-gnu

> 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.

When I remove everything from .zshrc, and only leave following two lines:

  autoload -Uz compinit
  compinit -D

then completion for mount -o <TAB> starts working, same as you describe.
That is great progress. But umount m<TAB> still does not complete, nor
does umount ./m<TAB>

Cheers,



  reply	other threads:[~2016-10-30 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5815DDAB.8070307__40712.3355348178$1477828401$gmane$org@gmx.ch>
2016-10-30 15:35 ` Daniel Shahaf
2016-10-30 19:38   ` Fourhundred Thecat [this message]
2016-10-31  7:47     ` Bart Schaefer
     [not found]     ` <161031004732.ZM18486__31116.0025107258$1477900147$gmane$org@torch.brasslantern.com>
2016-10-31 15:23       ` Daniel Shahaf
2016-10-30 11:46 Fourhundred Thecat

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=58164C21.9090505@gmx.ch \
    --to=400thecat@gmx.ch \
    --cc=d.s@daniel.shahaf.name \
    --cc=zsh-users@zsh.org \
    /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).