#!/usr/bin/env fish # function cd source "$__fish_data_dir/functions/cd.fish" $argv if test -f venv/bin/activate source venv/bin/activate else if test -f bin/activate source bin/activate else if test -f ../venv/bin/activate source ../venv/bin/activate end end