[Bash-completion-devel] [bash-completion-Bugs][313763] umount doesn't check local folder names
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Sat Sep 8 05:09:24 UTC 2012
bash-completion-Bugs item #313763, was opened at 2012-09-08 15:09 by Adam Nielsen
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313763&group_id=100114
Status: Open
Priority: 3
Submitted By: Adam Nielsen (malvineous-guest)
Assigned to: Nobody (None)
Summary: umount doesn't check local folder names
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
If you are trying to umount a folder in the current directory which happens to have the same name as a server, it will autocomplete to the server's name instead of the local directory name:
mount remote-computer-name:/blah /mnt/remote
cd /mnt
umount rem<tab>
The last line is meant to expand to:
umount remote
But instead it actually expands to:
umount remote-computer-name:/
The completion code should also check directory names in the current directory for possible expansion. Perhaps to be extra useful, it could ensure the directory is actually mounted in /etc/mtab too, before considering it for possible expansion.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313763&group_id=100114
More information about the Bash-completion-devel
mailing list