From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Cc: Ferdinand Thiessen <f.thiessen@gmx.de>
Subject: Re: [BUG] umount mountpoint completion
Date: Tue, 7 Mar 2017 11:14:47 -0800 [thread overview]
Message-ID: <170307111447.ZM21964@torch.brasslantern.com> (raw)
In-Reply-To: <20170307111916.GA5002@fujitsu.shahaf.local2>
On Mar 7, 11:19am, Daniel Shahaf wrote:
} Subject: Re: [BUG] umount mountpoint completion
}
} > } > % sudo umount "/tmp/a\ 0"
} > }
} > } Which is of course invalid.
} >
} > Could you please explain why you consider this to be invalid?
}
} umount's argv would include the backslash literally, and there is no
} mount point called '/tmp/a\ 0', only '/tmp/a 0'.
If this is just completed as
% umount /tmp/a<TAB>
is the result the same, or is the extra quoting happening because of
_normal being called by _arguments from _sudo? I'm having a hard
time tracing down that bit.
next prev parent reply other threads:[~2017-03-07 19:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-05 15:08 Ferdinand Thiessen
2017-03-06 0:55 ` Ferdinand Thiessen
2017-03-06 4:01 ` Bart Schaefer
2017-03-06 17:35 ` Ferdinand Thiessen
2017-03-06 23:10 ` Bart Schaefer
2017-03-07 11:19 ` Daniel Shahaf
2017-03-07 19:14 ` Bart Schaefer [this message]
2017-03-07 20:37 ` Ferdinand Thiessen
2017-03-07 21:49 ` Bart Schaefer
2017-03-08 2:08 ` Ferdinand Thiessen
2017-03-09 5:55 ` Bart Schaefer
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=170307111447.ZM21964@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=f.thiessen@gmx.de \
--cc=zsh-workers@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).