Files
audio-driven-face-animation/.autoenv.template
T
Łukasz Zalewski a6bb5c6708 Dev (#121)
* fix readme links

* move dockerfile to separate branch
2021-04-06 15:02:21 +02:00

16 lines
704 B
Plaintext

# this a template of the file that can be used for automatic execution of shell commands when entering folder
# it useful for automatic activation of conda environment and hydra tab completion
# create a file named .autoenv
# by default .autoenv will be excluded from version control
# next, execute the line below to enable the automation for bash:
# echo "autoenv() { [[ -f \"\$PWD/.autoenv\" ]] && source .autoenv ; } ; cd() { builtin cd \"\$@\" ; autoenv ; } ; autoenv" >> ~/.bashrc
# alternatively, you can load it manually each time with:
# source .autoenv
# activate conda environment
conda activate myenv
# initialize hydra tab completion for bash
eval "$(python run.py -sc install=bash)"