Yamashita, Yuu
0bbb12a3bf
Use glob to check if the virtualenv is inside pyenv's prefix or not
2015-11-24 00:04:18 +00:00
Yamashita, Yuu
4e9d697887
Suppress message about virtualenv-init if -quiet given ( fixes #122 )
2015-11-23 13:34:46 +00:00
Yamashita, Yuu
5f87786adf
Remove PYENV_DEACTIVATE ( fixes #121 )
...
This means that pyenv-virtualenv will not allow manual deactivation of
virtualenv if pyenv-virtualenv-init is enabled. This must be acceptable
since the activation of virtualenv is just setting of environment
variables in current implementation.
2015-11-23 13:33:31 +00:00
Yamashita, Yuu
caa5832b8a
Allow manual activation of virtualenvs inside $(pyenv-root)/versions ( #115 )
2015-11-16 02:29:46 +00:00
Yamashita, Yuu
47feedc934
exits as 0 if there is some virtualenv outside from pyenv is already activated ( #114 )
2015-11-12 13:29:25 +00:00
Yamashita, Yuu
a73817eecc
Use canonical name for VIRTUAL_ENV as a workaround for IPython ( fixes #113 )
2015-11-12 00:29:26 +00:00
Yamashita, Yuu
ee18ffac9f
Change prompt after activate ( #52 )
2015-11-09 01:57:17 +00:00
Yamashita, Yuu
950a742be3
Add short options
2015-11-08 09:18:29 +00:00
Yamashita, Yuu
bdd52a79cd
Revert PYENV_DEACTIVATE for backward compatibility
2015-11-08 08:34:43 +00:00
Yamashita, Yuu
f7d1aa7d94
Allow activating first version of virtualenv even if there are multiple versions in pyenv ( #105 )
2015-11-08 06:32:28 +00:00
Yamashita, Yuu
7f33ddd911
prompt should be managed by users, not by tools
2015-11-06 17:34:21 +00:00
Yamashita, Yuu
8731e9bf14
replaced --no-error by --quiet
2015-11-06 17:33:40 +00:00
Yamashita, Yuu
bf7e9ba59a
Show activating... messages by default
2015-11-06 17:27:50 +00:00
Yamashita, Yuu
c6a705b1d9
Setup CONDA_DEFAULT_ENV only if conda executable exists
2015-11-05 01:49:04 +00:00
Yamashita, Yuu
64ceee5c8e
Stop using virtualenv's activate script ( #69 )
2015-11-04 13:50:17 +00:00
Yamashita, Yuu
cdbf7c9972
activate "root" environment of anaconda/miniconda if environment name is not given
2015-07-19 04:19:34 +09:00
Yamashita, Yuu
25395f0331
activate: look for a conda environment if given name is not a pyenv's prefix
2015-07-19 03:38:48 +09:00
Yamashita, Yuu
be6701e7b6
Fix Error: too many arguments. on deactivating anaconda env
2015-07-19 01:04:23 +09:00
Yamashita, Yuu
65c74dbf2d
activate/deactivate anaconda/miniconda envs
2015-07-19 00:08:09 +09:00
Daniel Hahler
2571a2b973
activate: display setup instructions only with PYENV_VIRTUALENV_INIT=0
...
This fixes displaying the note, in case "init" has been run manually
and/or the init is not in the expected place.
It removes the unnecessary calls to "grep".
pyenv-virtualenv-init will look at `$PYENV_SHELL` now, too.
Tests have been adjusted/fixed.
2015-05-10 17:47:46 +02:00
Daniel Hahler
95fa7a35ad
shell: do not use basename, but bash
2015-05-10 17:36:03 +02:00
Yamashita Yuu
191e806ba9
shell version set in activate should be unset in deactivate ( #61 )
2014-12-23 11:21:52 +09:00
Yamashita Yuu
c9bcef656c
Use . instead of source to support POSIX sh
2014-08-13 10:54:18 +09:00
Yamashita Yuu
abfda4bac9
Fix issues with manual activation of virtual environments ( #34 )
2014-07-04 22:55:06 +09:00
Yamashita Yuu
d4ce853e94
Display information on automatic (de)?activation
2014-07-04 22:44:05 +09:00
Yamashita Yuu
58ed045796
s/QUIET/NOERROR/g
2014-07-04 22:10:35 +09:00
Yamashita Yuu
f0c400b669
Add --quiet option to activate and deactivate
2014-07-04 20:47:10 +09:00
Yamashita Yuu
c09a6d3d6c
Exit as error on activation failures
2014-07-04 20:23:29 +09:00
Yamashita Yuu
08b4c94f85
Use PYENV_DEACTIVATE to store which virtualenv has been deactivated ( #32 )
2014-06-30 23:03:37 +09:00
Yamashita Yuu
d9e3adc108
Performe as same as before v20140614 if pyenv virtualenv-init is not configured ( #26 )
2014-06-15 16:43:50 +09:00
Yamashita Yuu
c17e4ec9a4
style
2014-06-05 19:31:10 +09:00
Yamashita Yuu
7828a15066
Use pyenv-virtualenv-init to show caveats
2014-06-05 00:17:06 +09:00
Yamashita Yuu
b258bfa907
Display notice about virtualenv-init in activate
2014-06-05 00:08:21 +09:00
Yamashita Yuu
8a837758dc
activate: invoke pyenv shell only if the arguments passed
2014-06-04 15:24:36 +09:00
Fotis Gimian
f7da0c5808
Repaired virtualenv activation and deactivation for the fish shell
2014-05-31 12:29:19 +10:00
Yamashita Yuu
d0685addc1
Add tests for activate and deactivate
2014-01-21 00:37:33 +09:00
Yamashita Yuu
64b2545d5e
Hide useless output from pyenv-virtualenv-prefix
2014-01-17 22:43:03 +09:00
Yamashita Yuu
85959c735d
Add sh commands to activate/deactivate virtualenv into current shell
2014-01-17 20:17:15 +09:00