summaryrefslogtreecommitdiffstats
path: root/bash-completion
AgeCommit message (Collapse)AuthorFilesLines
2012-04-22bash-completion: avoid using cdDave Reisner1-4/+19
Introduce _files_from_dir, which loops over arguments to find files in the given directories. Additionally allow passing a flag which will strip suffixes from any found files. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-22lsinitcpio: adopt parseopts for option parsingDave Reisner1-6/+10
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-22mkinitcpio: adopt parseopts for option parsingDave Reisner1-11/+22
Updates the doc and bash-completion, as well. Also adds the previously unmentioned -A option to the --help output. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-18bash-completion: align whitespace with rest of repoDave Reisner1-38/+38
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-03-16bash-completion: find hooks in /usr/libMatthew Monaco1-2/+3
[dreisner: add handling for -A flag] Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-11-13update bash completionDave Reisner1-5/+11
- change scavenging of /lib/modules to avoid grabbing extramodules dirs - add missing options for lsinitcpio and mkinitcpio - use _filedir for completing -b Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-30bash-completion: use a PE instead of sedDave Reisner1-1/+2
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-30bash-completion: match style to rest of codeDave Reisner1-5/+5
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-30bash-completion: complete -k on kernel imagesDave Reisner1-1/+15
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-27Use _get_comp_words_by_ref in bash completionSebastien Luttringer1-8/+8
Thanks Dave Reisner for suggestion Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-26emove old '-a' option from bash completion and fix '-s' option.Thomas Bächler1-2/+2
2011-06-26Remove old '-m' option from bash completion.Thomas Bächler1-2/+1
2011-06-26Add lsinitcpio bash completionSebastien Luttringer1-0/+12
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-26Add bash completion to mkinitcpioSebastien Luttringer1-0/+20
It's annoying to remember the name of preset each time Signed-off-by: Sebastien Luttringer <seblu@seblu.net>