- autoenv μ€μΉ
git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv
echo βsource ~/.autoenv/activate.shβ >> ~/.zprofile #νΉμ .bash_profile source ~/.zprofile #νΉμ .bash_profile
2. autoenv λλ ν 리μ μ€μ
mkdir autoenvDir cd autoenvDir
echo βconda activate py36β > .env
3. autoenv λμ νμΈ
# .env νμΌμ λ§λ€μ΄ λμ ν΄λλ‘ μ΄λμ autoenv λμμ νμΈνλ€
cd autoenvDir
autoenv:
autoenv: WARNING:
autoenv: This is the first time you are about to source /home/jjeaby/autoenvDir/.env:
autoenv:
autoenv: β β (begin contents) β β β β β β β β β β β β ββ β β β β
autoenv: conda deactivate $ autoenv: conda activate py36$
autoenv:
autoenv: β β (end contents) β β β β β β β β β β β β ββ β β β β β
autoenv:
autoenv: Are you sure you want to allow this? (y/N) y
(py36) β