Files
grm/activate.zsh
T

8 lines
196 B
Bash

#!/usr/bin/env zsh
# Activate the Python virtual environment for zsh
# Usage: source activate.zsh
0="${ZERO:-${0:#$ZSH_ARGZERO}}"
0="${${(M)0:#/*}:-$PWD/$0}"
source "${0:A:h}/.venv/bin/activate"