Fix activate shortcut

This commit is contained in:
Eric Torres 2024-05-11 16:52:47 -07:00
parent 77dd737819
commit 4a211773d8

View File

@ -40,7 +40,7 @@ alias xcah='cd -- ${XDG_CACHE_HOME:-${HOME}/.cache}'
alias xdh='cd -- ${XDG_DATA_HOME:-${HOME}/.local/share}' alias xdh='cd -- ${XDG_DATA_HOME:-${HOME}/.local/share}'
# Programming # Programming
alias activate="source '$(fd --type file \'activate$\')' || echo 'No activate file found'" alias activate='source "$(fd --type file "activate$")" || echo "No activate file found"'
alias pyarchive='git archive -o rbackup-"$(python setup.py --version)".tar.gz --prefix=rbackup-"$(python setup.py --version)"/' alias pyarchive='git archive -o rbackup-"$(python setup.py --version)".tar.gz --prefix=rbackup-"$(python setup.py --version)"/'
# Use python-pytest-xdist plugin # Use python-pytest-xdist plugin
#alias pytest='pytest --numprocesses=$(nproc)' #alias pytest='pytest --numprocesses=$(nproc)'