This commit is contained in:
Oswaldo Ferro 2020-06-22 15:14:38 -07:00
Родитель 208ee56fef
Коммит 7cc2c2e930
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -35,13 +35,13 @@ source /home/$USER/tmp/$1/bin/activate
echo "
# Must pass in name of venv as the only positional arg
activate_venv(){
source /home/$USER/tmp/$1/bin/activate
source /home/\$USER/tmp/\$1/bin/activate
}
# Must pass in name of venv as the only postional arg
create_venv(){
virtualenv -p python3 $HOME/tmp/$1/
virtualenv -p python3 \$HOME/tmp/\$1/
}
alias ls_venv='ls /home/$USER/tmp/'
alias ls_venv='ls /home/\$USER/tmp/'
" >> ~/.bashrc
```