mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-16 17:00:32 +03:00
This commit is contained in:
parent
e61b94efce
commit
8260da5fb9
@ -56,7 +56,12 @@ export def-env deactivate [] {
|
||||
}
|
||||
|
||||
export def-env list [] {
|
||||
print $env.CONDA_ENVS
|
||||
$env.CONDA_ENVS |
|
||||
flatten |
|
||||
transpose |
|
||||
rename name path |
|
||||
insert active { |it| $it.name == $env.CONDA_CURR } |
|
||||
move path --after active
|
||||
}
|
||||
|
||||
def update-path-linux [env_path: path] {
|
||||
|
Loading…
Reference in New Issue
Block a user