mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
This commit is contained in:
parent
e61b94efce
commit
8260da5fb9
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue