Commit graph

6 commits

Author SHA1 Message Date
Adrian Petrescu
7d86e434d3 Add /usr/local/bin to autoenv search path (#5481)
The current list of directories to search for autoenv on misses the default location on Ubuntu systems if you just do a normal `pip install autoenv` - [it will place](https://github.com/kennethreitz/autoenv/blob/master/setup.py#L16) `activate.sh` in `/usr/local/bin` unless you manually override the `--prefix` or something.

The `/usr/local/opt/autoenv` is fine for macOS/homebrew installations but it would be nice not to have to manually patch on Linux :)
2016-09-30 23:39:32 +02:00
Andrew Janke
b8f9d4ce56 autoenv: actually source autoenv once located
Fixes bug introduced in #4440
2015-10-09 20:35:19 -04:00
Andrew Janke
bc4dc61c24 autoenv: also look in the Homebrew installation location for it 2015-10-01 19:29:59 -04:00
Jonathan Cremin
b9ce27992c Check for autoenv_init function before trying to source autoenv. 2015-07-10 14:12:27 +01:00
LFDM
a3914e2bed Pushes autoenv code to its plugin.
Sources the activate.sh file or informs the user, that its not
available.
Overriding the cd function, as it was formerly done, is not needed
anymore, activate.sh does this by itself.
2015-02-10 19:22:38 +01:00
Serdar Dalgıç
4c91f6d13e Add autoenv plugin, which adopts using Kenneth Reitz's autoenv into
oh-my-zsh.
2013-01-25 13:23:40 +02:00