Commit graph

11 commits

Author SHA1 Message Date
Andrew Janke
58e38155fc autoenv: look in additional installation locations, redo logic
Fixes #4681

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-03-12 16:48:31 +01:00
Rhuan Oliveira
f763244e3b autoenv: add README (#8184) 2019-10-01 12:56:41 +02:00
Marc Cornellà
3c9942c488 autojump: move README to right place 2018-10-09 20:34:47 +02:00
Yordan Ivanov
27e77c33fa autojump: add README (#7253) 2018-10-08 18:41:38 +02:00
Italo Maia
cae540f899 Adding new path to look for activate.sh (#5654)
If autoenv was installed with pip and modifier --user, activate.sh will be at .local/bin
2017-01-05 11:41:53 +01:00
Adrian Petrescu
9263e9ca59 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
2d0e7fbdad autoenv: actually source autoenv once located
Fixes bug introduced in #4440
2015-10-09 20:35:19 -04:00
Andrew Janke
c146853a5e autoenv: also look in the Homebrew installation location for it 2015-10-01 19:29:59 -04:00
Jonathan Cremin
b7617b35ff Check for autoenv_init function before trying to source autoenv. 2015-07-10 14:12:27 +01:00
LFDM
ace98846ea 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