mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 00:21:15 -03: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:
committed by
Fabian Homborg
parent
6682f0e8ca
commit
682f4b04ad
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user