Skip to content

Fix modprobe completion for newer modprobe versions#1124

Merged
siteshwar merged 1 commit into
fish-shell:masterfrom
ByScripts:master
Nov 16, 2013
Merged

Fix modprobe completion for newer modprobe versions#1124
siteshwar merged 1 commit into
fish-shell:masterfrom
ByScripts:master

Conversation

@ByScripts
Copy link
Copy Markdown
Contributor

Newer versions of modprobe no longer support "-l" switch. This update fixes that by replacing "modprobe -l" with "find /lib/modules/(uname -r)/kernel -type f"

@siteshwar siteshwar merged commit 76ab22f into fish-shell:master Nov 16, 2013
@siteshwar
Copy link
Copy Markdown
Contributor

Nice find. Thanks for your contribution.

To git@github.com:fish-shell/fish-shell.git
cfbb511..76ab22f master -> master

@siteshwar
Copy link
Copy Markdown
Contributor

I have also disabled showing files in modprobe completions with 6eb7530

@ByScripts
Copy link
Copy Markdown
Contributor Author

You're welcome. I discovered Fish Shell 2 hours ago. Clearly a good one.

Nicely spotted for --no-files , didn't know this option.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants