2022-10-15 21:52:57 +02:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
#
|
|
|
|
|
|
|
|
function cd
|
2023-09-06 02:22:26 +02:00
|
|
|
source "$__fish_data_dir/functions/cd.fish" $argv
|
2022-10-15 21:52:57 +02:00
|
|
|
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
|