mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
9367d4ff71
This does not include checks/function.fish because that currently includes a "; end" in a message that indent would remove, breaking the test.
7 lines
590 B
Fish
7 lines
590 B
Fish
# Multiple versions are often installed as clang++, clang++-7, clang++-8, etc.
|
|
# They won't be autoloaded, but once clang++ is used once, they'll gain completions too.
|
|
# This could potentially be moved to __fish_config_interactive.fish in the future.
|
|
|
|
complete -p '*clang++*' -n __fish_should_complete_switches -xa '(__fish_complete_clang)'
|
|
complete -p '*clang++*' -n 'not __fish_should_complete_switches' \
|
|
-xa "(__fish_complete_suffix .o; __fish_complete_suffix .out; __fish_complete_suffix .c; __fish_complete_suffix .cpp; __fish_complete_suffix .so; __fish_complete_suffix .dylib)"
|