1 2 3 4 5 6 7 8
#!/usr/bin/env zsh 0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}" 0="${${(M)0:#/*}:-$PWD/$0}" source ${0:h}/.env source ${0:h}/venv/bin/activate python3 ${0:h}/$1