mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
8dc4b0d4b2
Extend autocompletion support
4 lines
206 B
Fish
4 lines
206 B
Fish
# Helper function for completions that need to enumerate Linux modules
|
|
function __fish_print_modules
|
|
find /lib/modules/(uname -r)/{kernel,misc} -type f ^ /dev/null | sed -e 's$/.*/\([^/.]*\).*$\1$'
|
|
end
|