Commit Graph

6 Commits (master)

Author SHA1 Message Date
Igor Murzov 292830be53 umount: Fix mount points escaping/unescaping with Bash-4.3 2014-06-09 01:46:49 +04:00
Ville Skyttä 497c20902a Use == instead of =. 2013-04-08 23:04:11 +03:00
Ville Skyttä 6185297fc9 *: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups. 2013-02-17 23:49:30 +02:00
Igor Murzov 54bcdff3cf umount: Real fix for completion of relative paths. 2011-12-04 05:34:25 +04:00
Igor Murzov 7a1a3da08a umount: Half-fix for completion of relative paths. 2011-12-04 02:41:46 +04:00
Igor Murzov db8d3eeeeb mount, umount: Add linux-specific completions.
This linux-specific completion won't parse /etc/fstab as a lot of people
including myself find it useless. And there is no reliable way to guess
what user wants to mount. Some examples of what is ok for mount:

 $ mount /home
 $ mount /dev/sda1 /home
 $ mount file.iso /media/iso -o loop
 $ mount LABEL=mydisk /media/disk

It is more sane to provide just filenames completion for mount.
2011-11-20 01:26:51 +03:00