Last active
July 29, 2023 01:17
-
-
Save forewing/ee95019b15395beccf738ec4cf47271c to your computer and use it in GitHub Desktop.
Fuck Conda (a.k.a. how to use conda normally without slowing down everyday use of the shell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# less aggressive version, but lil bit slower | |
conda config --set auto_activate_base false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Init only the first time you run `conda` command | |
conda() { | |
unset -f conda | |
conda_init | |
conda "$@" | |
} | |
conda_init() { | |
# >>> conda initialize >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
# Here goes the slowest commands in the world generated by conda | |
# <<< conda initialize <<< | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment