mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Updated completions for modprobe and set_color
darcs-hash:20050924193227-ac50b-5804b5e8c0cd0f77cb77d9a87e8e2f3eb9061af2.gz
This commit is contained in:
parent
f643a4e200
commit
7130c978d5
2 changed files with 6 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue