mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-28 04:35:09 +00:00
Include special characters in conda env names
Allows completion for environments with names containing special characters. For example: my-env, myenv.1, myenv+1
This commit is contained in:
parent
6682f0e8ca
commit
682f4b04ad
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function __fish_conda_config_keys
|
||||||
end
|
end
|
||||||
|
|
||||||
function __fish_conda_environments
|
function __fish_conda_environments
|
||||||
conda env list | string match -rv '^#' | string match -r '^\w+'
|
conda env list | string match -rv '^#' | string match -r '^\S+'
|
||||||
end
|
end
|
||||||
|
|
||||||
# common options
|
# common options
|
||||||
|
|
Loading…
Reference in a new issue