mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
completions/conda: Enable file completions for --file options
Fixes #10463
This commit is contained in:
parent
301e4d497e
commit
2da5ce7a48
1 changed files with 3 additions and 3 deletions
|
@ -138,7 +138,7 @@ __fish_conda clean -s s -l source-cache -d "Remove files from the source cache o
|
|||
|
||||
__fish_conda config -l system -d "Write to the system .condarc file"
|
||||
__fish_conda config -l env -d "Write to the active conda environment .condarc file"
|
||||
__fish_conda config -l file -d "Write to the given file"
|
||||
__fish_conda config -l file -d "Write to the given file" -F
|
||||
__fish_conda config -l show -x -a "(__fish_conda_config_keys)" -d "Display configuration values"
|
||||
__fish_conda config -l show-sources -d "Display all identified configuration sources"
|
||||
__fish_conda config -l validate -d "Validate all configuration sources"
|
||||
|
@ -204,7 +204,7 @@ end
|
|||
|
||||
# Option file
|
||||
for cmd in create install update
|
||||
__fish_conda $cmd -l file -d 'Read package versions from the given file'
|
||||
__fish_conda $cmd -l file -d 'Read package versions from the given file' -F
|
||||
end
|
||||
|
||||
# Option force
|
||||
|
@ -350,4 +350,4 @@ __fish_conda search -l reverse-dependency -d "Perform a reverse dependency searc
|
|||
__fish_conda_top -a env -d "Conda options for environments"
|
||||
complete -c conda -n "__fish_conda_subcommand env" -a create -d "Create a new environment"
|
||||
complete -c conda -n "__fish_conda_subcommand env" -a list -d "List all conda environments"
|
||||
complete -c conda -n "__fish_conda_subcommand env create" -s f -l file -r -d "Create environment from yaml file"
|
||||
complete -c conda -n "__fish_conda_subcommand env create" -s f -l file -rF -d "Create environment from yaml file"
|
||||
|
|
Loading…
Reference in a new issue