Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix modprobe completion for newer modprobe versions #1124

Merged
merged 1 commit into from Nov 16, 2013

Conversation

@ByScripts
Copy link
Contributor

@ByScripts ByScripts commented Nov 16, 2013

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
Member

@siteshwar siteshwar commented Nov 16, 2013

Nice find. Thanks for your contribution.

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

@siteshwar
Copy link
Member

@siteshwar siteshwar commented Nov 16, 2013

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

@ByScripts
Copy link
Contributor Author

@ByScripts ByScripts commented Nov 16, 2013

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.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.