summaryrefslogtreecommitdiff
path: root/completions/lilo
diff options
context:
space:
mode:
Diffstat (limited to 'completions/lilo')
-rw-r--r--completions/lilo14
1 files changed, 7 insertions, 7 deletions
diff --git a/completions/lilo b/completions/lilo
index 3073183c..1ccca35c 100644
--- a/completions/lilo
+++ b/completions/lilo
@@ -3,7 +3,7 @@
_lilo_labels()
{
COMPREPLY=( $( compgen -W "$( awk -F'=' '/label/ {print $2}' \
- /etc/lilo.conf | sed -e 's/\"//g' )" -- "$cur" ) )
+ /etc/lilo.conf | command sed -e 's/\"//g' )" -- "$cur" ) )
}
_lilo()
@@ -14,28 +14,28 @@ _lilo()
case $prev in
-C|-i|-m|-s|-S)
_filedir
- return 0
+ return
;;
-r)
_filedir -d
- return 0
+ return
;;
-I|-D|-R)
# label completion
_lilo_labels
- return 0
+ return
;;
-A|-b|-M|-u|-U)
# device completion
cur=${cur:=/dev/}
_filedir
- return 0
+ return
;;
-T)
# topic completion
COMPREPLY=( $( compgen -W 'help ChRul EBDA geom geom= table=
video' -- "$cur" ) )
- return 0
+ return
;;
esac
@@ -47,4 +47,4 @@ _lilo()
} &&
complete -F _lilo lilo
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh