Disable file completions for profiles
This commit is contained in:
6
yc.fish
6
yc.fish
@@ -253,7 +253,7 @@ function __fish_yc_list_profiles
|
|||||||
yc config profile list | string replace ' ACTIVE' ''
|
yc config profile list | string replace ' ACTIVE' ''
|
||||||
end
|
end
|
||||||
|
|
||||||
complete -c yc -n '__fish_yc_using_command config profile get' -a '(__fish_yc_list_profiles)'
|
complete -c yc -n '__fish_yc_using_command config profile get' -f -a '(__fish_yc_list_profiles)'
|
||||||
complete -c yc -n '__fish_yc_using_command config profile delete' -a '(__fish_yc_list_profiles)'
|
complete -c yc -n '__fish_yc_using_command config profile delete' -f -a '(__fish_yc_list_profiles)'
|
||||||
complete -c yc -n '__fish_yc_using_command config profile activate' -a '(__fish_yc_list_profiles)'
|
complete -c yc -n '__fish_yc_using_command config profile activate' -f -a '(__fish_yc_list_profiles)'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user