#!/usr/bin/env fish # function cd builtin cd $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