mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
7659554dea
This removes the use of caret redirections from share/completions and share/functions, in preparation for dropping support in fish.
5 lines
206 B
Fish
5 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 2>/dev/null | sed -e 's$/.*/\([^/.]*\).*$\1$'
|
|
end
|