Ville Skyttä
7d3de619d1
*: Invoke command to be completed, not its basename
2014-11-16 12:18:41 +02:00
Igor Murzov
7d591128a8
mount: Fix parsing /etc/fstab on *BSD.
...
This completion is still just a stub on *BSD, but now at least it does not
look like a complete mistake.
2012-12-04 18:40:51 +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
Ville Skyttä
3b8ef29ef3
Cleanups: Use [[ instead of [.
2011-11-09 23:28:11 +02:00
Ville Skyttä
0d10b94e7a
Move Emacs indentation settings from every file to .dir-locals.el.
2011-11-01 22:14:45 +02:00
Ville Skyttä
20c05b43b6
Load completions in separate files dynamically, get rid of have().
2011-10-12 00:19:50 +03:00
Ville Skyttä
0cb6263424
Use _init_completion() in completions/m*.
2011-04-20 22:42:55 +03:00
Ville Skyttä
e31f021470
Replace some uname -s checks with $OSTYPE ones.
2011-04-06 20:28:19 +03:00
Ville Skyttä
9af6f3504e
Abort completion file loading earlier if required commands are not available.
...
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00