diff --git a/init/completions/modprobe.fish b/init/completions/modprobe.fish index af0e35d28..1b0395ecf 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 33706f7bf..fe5513419 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'