mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
completions/rmmod: Stop hardcoding lsmod location
No idea what that was supposed to accomplish to begin with. Fixes #6912
This commit is contained in:
parent
be36c96028
commit
6004d04da6
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
# rmmod completion
|
||||
complete -c rmmod -x -a "(/sbin/lsmod | awk 'NR > 1 {print \$1}')"
|
||||
complete -c rmmod -x -a "(lsmod | string replace -r '\s.*' '')"
|
||||
|
||||
complete -c rmmod -s h -l help -d "Prints the help text."
|
||||
complete -c rmmod -s s -l syslog -d "Send errors to syslog instead of standard error."
|
||||
complete -c rmmod -s v -l verbose -d "Print messages about what the program is doing."
|
||||
complete -c rmmod -s h -l help -d "Prints the help text"
|
||||
complete -c rmmod -s s -l syslog -d "Send errors to syslog instead of standard error"
|
||||
complete -c rmmod -s v -l verbose -d "Print messages about what the program is doing"
|
||||
complete -c rmmod -s V -l version -d "Show version of program and exit"
|
||||
complete -c rmmod -s f -l force -d "With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as unsafe"
|
||||
|
|
Loading…
Reference in a new issue