aboutsummaryrefslogtreecommitdiffhomepage
path: root/init
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-25 05:32:27 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-25 05:32:27 +1000
commit7130c978d5edd5f8fe167a1850d39d6b045c89ab (patch)
treef420d8de100e3b1a418b973a8d794035367a9d55 /init
parentf643a4e2007c547c0e224f35a5e10d2bf46ab489 (diff)
Updated completions for modprobe and set_color
darcs-hash:20050924193227-ac50b-5804b5e8c0cd0f77cb77d9a87e8e2f3eb9061af2.gz
Diffstat (limited to 'init')
-rw-r--r--init/completions/modprobe.fish5
-rw-r--r--init/completions/set_color.fish4
2 files changed, 6 insertions, 3 deletions
diff --git a/init/completions/modprobe.fish b/init/completions/modprobe.fish
index af0e35d2..1b0395ec 100644
--- a/init/completions/modprobe.fish
+++ b/init/completions/modprobe.fish
@@ -1,5 +1,8 @@
+#
+# Completions for the modprobe command
+#
-complete -c modprobe -d Module -a "/sbin/modprobe -l|sed -re 's/\/.*\/([^\/.]*).*/\1/'"
+complete -c modprobe -d Module -a "(/sbin/modprobe -l | sed -re 's/\/.*\/([^\/.]*).*/\1/')"
complete -c modprobe -s v -l verbose -d "Print messages about what the program is doing"
complete -c modprobe -s C -l config -d "Configuration file" -r
complete -c modprobe -s c -l showconfig -d "Dump configuration file"
diff --git a/init/completions/set_color.fish b/init/completions/set_color.fish
index 33706f7b..fe551341 100644
--- a/init/completions/set_color.fish
+++ b/init/completions/set_color.fish
@@ -1,5 +1,5 @@
set -g __fish_colors black red green brown blue magenta cyan white normal
complete -c set_color -x -d "Color" -a '$__fish_colors'
-complete -c set_color -s b -l background -x -a '$__fish_colors'
-complete -c set_color -s o -l bold -a 'Make font bold'
+complete -c set_color -s b -l background -x -a '$__fish_colors' -d "Change background color"
+complete -c set_color -s o -l bold -d 'Make font bold'