Skip to content

Instantly share code, notes, and snippets.

Oleg Lavrovsky loleg

Block or report user

Report or block loleg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@loleg
loleg / conda.fish
Last active Dec 8, 2017 — forked from jiffyclub/conda.fish
Activate and deactivate commands for working with conda environments in the fish shell. Currently assumes you are switching to a named environment, not specifying a directory.. Adapted from https://penandpants.com/2014/02/28/using-conda-environments-and-the-fish-shell/
View conda.fish
# To use this, add to the ~/.config/fish/ directory and source them from
# the end of the ~/.config/fish/config.fish file:
#
# source $HOME/.config/fish/conda.fish
#
# set this to YOUR anaconda/miniconda path:
set CONDAHOME $HOME/miniconda3/envs
function condalist -d 'List conda environments.'
for dir in (ls $CONDAHOME)
View gist:7458a26da3bfcd803b5ed9f7b16d5231
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
You can’t perform that action at this time.