Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] umount mountpoint completion
- X-seq: zsh-workers 40787
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [BUG] umount mountpoint completion
- Date: Tue, 7 Mar 2017 11:14:47 -0800
- Cc: Ferdinand Thiessen <f.thiessen@xxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject:cc :mime-version; bh=tIrCIK02DKpjjqq0mrVjmrxxXFh6/KP3Sd3+3S6nQD4=; b=0hv78z9n0/APgXPOa2l1/wOapVm3Th2KOfSKkANUrtx2fjbEYNxcUWmRMF0Bv9nvzz wf3uS7o738/J1QnMyl0inzYXiAxcahABIpdmcu63wQsh2PnCIDJzPlTcXLlxHoaaJ04k s0Edj2LNYlIjIMAocVxarwbb44wbHcuZe0DuvS4E7MLt7IydyXbMMndGEvob88+iFnYT T/oY9HmF12o+2+83+A8mTaL4FLR8JtRVu/PigSa6cgjcvqIpYdWKaOSWWcSlIldh05H9 7SXkxvpH6UtBg2YeQKR2/tht4y+gTHKnNOKtgKAzZAtT0661427MjiB8v9s1NFZvIwZy Kv4g==
- In-reply-to: <20170307111916.GA5002@fujitsu.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <8b983c55-f23e-2829-0131-c9970ec9b46b@gmx.de> <170305200130.ZM31787@torch.brasslantern.com> <39bf9cbd-8082-3fd6-54f9-8d1a3f498095@gmx.de> <170306151030.ZM18800@torch.brasslantern.com> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author