mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-18 20:52:46 +08:00
Updated completions for modprobe and set_color
darcs-hash:20050924193227-ac50b-5804b5e8c0cd0f77cb77d9a87e8e2f3eb9061af2.gz
This commit is contained in:
parent
f643a4e200
commit
7130c978d5
|
@ -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 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 config -d "Configuration file" -r
|
||||||
complete -c modprobe -s c -l showconfig -d "Dump configuration file"
|
complete -c modprobe -s c -l showconfig -d "Dump configuration file"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
set -g __fish_colors black red green brown blue magenta cyan white normal
|
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 -x -d "Color" -a '$__fish_colors'
|
||||||
complete -c set_color -s b -l background -x -a '$__fish_colors'
|
complete -c set_color -s b -l background -x -a '$__fish_colors' -d "Change background color"
|
||||||
complete -c set_color -s o -l bold -a 'Make font bold'
|
complete -c set_color -s o -l bold -d 'Make font bold'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user