14 lines
272 B
Fish
14 lines
272 B
Fish
|
#!/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
|