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:
Maksim Novikov 2020-02-11 11:07:07 +01:00 committed by Fabian Homborg
parent 6682f0e8ca
commit 682f4b04ad

View file

@ -31,7 +31,7 @@ function __fish_conda_config_keys
end
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
# common options