Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [BUG] umount mountpoint completion



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