Skip to content

Commit 60f9c54

Browse files
authored
Add --prune option to conda env update
Update conda environment command to include --prune option.
1 parent d530f5c commit 60f9c54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.zshrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ update_tools()(
546546
update_tools_stable()(
547547
(timeout 10 wget -o /dev/stdout -O $WS/.tools_tmp.yml https://raw.githubusercontent.com/LynnHo/Make-Workspace/main/tools_stable.yml || \
548548
timeout 10 wget -o /dev/stdout -O $WS/.tools_tmp.yml https://gitee.com/LynnHo/Make-Workspace/raw/main/tools_stable.yml) && \
549-
conda env update --name tools --file $WS/.tools_tmp.yml
549+
# conda env update --name tools --file $WS/.tools_tmp.yml
550+
conda env update --name tools --file $WS/.tools_tmp.yml --prune
550551
chmod +x $TOOL_HOME/bin/{ping,ping6}
551552
rm -f $WS/.tools_tmp.yml
552553

0 commit comments

Comments
 (0)