DEV Community

Discussion on: What are your favorite bash aliases?

Collapse
 
waylonwalker profile image
Waylon Walker

This one is my favorite. I use conda environments and switch between them many times per day. It pipes a list of available environments into fzf, trims out just the name then runs source activate on it.

a() {source activate "$(conda info --envs | fzf | awk '{print $1}')";}