mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
9c327b19a6
New fish_indent does that too, so this will make any future reformatting diffs smaller. Done using either of: perl -pi -e 'undef $/; s/\n*$/\n/' share/**.fish kak -n -f '<a-/>\n*<ret>d' share/**.fish
23 lines
1.7 KiB
Fish
23 lines
1.7 KiB
Fish
complete -c modprobe -n "__fish_contains_opt -s r remove" --no-files -d Module -a "(lsmod | cut -d' ' -f1)"
|
|
complete -c modprobe -n "not __fish_contains_opt -s r remove" --no-files -d Module -a "(__fish_print_modules)"
|
|
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"
|
|
complete -c modprobe -s n -l dry-run -d "Do not actually insert/remove module"
|
|
complete -c modprobe -s i -l ignore-install -d "Ignore install and remove commands in configuration file"
|
|
complete -c modprobe -l ignore-remove -d "Ignore install and remove commands in configuration file"
|
|
complete -c modprobe -s q -l quiet -d "Ignore bogus module names"
|
|
complete -c modprobe -s r -l remove -d "Remove modules"
|
|
complete -c modprobe -s V -l version -d "Display version and exit"
|
|
complete -c modprobe -s f -l force -d "Ignore all version information"
|
|
complete -c modprobe -l force-vermagic -d "Ignore version magic information"
|
|
complete -c modprobe -l force-modversion -d "Ignore module interface version"
|
|
complete -c modprobe -s l -l list -d "List all modules matching the given wildcard"
|
|
complete -c modprobe -s a -l all -d "Insert modules matching the given wildcard"
|
|
complete -c modprobe -s t -l type -d "Restrict wildcards to specified directory"
|
|
complete -c modprobe -s s -l syslog -d "Send error messages through syslog"
|
|
complete -c modprobe -l set-version -d "Specify kernel version"
|
|
complete -c modprobe -l show-depends -d "List dependencies of module"
|
|
complete -c modprobe -s o -l name -d "Rename module"
|
|
complete -c modprobe -l first-time -d "Fail if inserting already loaded module"
|