2018-10-22 23:53:20 -05:00
|
|
|
# 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.
|
|
|
|
|
2020-03-09 19:36:12 +01:00
|
|
|
complete -p '*clang++*' -n __fish_should_complete_switches -xa '(__fish_complete_clang)'
|
2018-10-22 23:53:20 -05:00
|
|
|
complete -p '*clang++*' -n 'not __fish_should_complete_switches' \
|
2023-02-24 10:18:08 +08:00
|
|
|
-k -xa "(__fish_complete_suffix .o .out .c .cpp .so .dylib)"
|