1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-30 02:10:58 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
Daniel Hahler
e9809c1bd2 README: improve .venv example 2018-09-14 04:01:21 +02:00
Daniel Hahler
c60241f9d9
Add helper functions for $PATH manipulation (#90) 2018-09-14 03:46:43 +02:00
Daniel Hahler
016426207c Add requirements to README
Zsh version 4.3.10 introduced the `:a` and `:A` modifiers that are used.

[ci skip]
2017-12-15 23:34:53 +01:00
Daniel Hahler
bba8f04258
minor: fix doc / improve debug logging (#80) 2017-12-14 01:18:44 +01:00
Daniel Hahler
9074633a29 README: recipes: fix "Environment file for all project" to use :a
Ref: https://github.com/Tarrasch/zsh-autoenv/pull/73
2017-11-02 02:42:26 +01:00
Daniel Hahler
3258f584ec Cleanup README (#70)
Fix issues reported by mdl and remove the unnecessary bitdeli badge.
2017-10-18 00:29:43 +02:00
Daniel Hahler
0f92983d1e Add autoenv-edit function to edit current env files (#68) 2017-08-11 14:15:46 +02:00
Daniel Hahler
9ecb91480d README: improve recipe for virtualenv auto-activation
- check that VIRTUAL_ENV is non-empty, which might happen when
`deactivate` was called already.
- perform directory name abbreviation on the virtualenv path.
2017-05-24 18:02:49 +02:00
Daniel Hahler
738e6e965d AUTOENV_DEBUG=3 sets xtrace while sourcing; doc (#65) 2017-04-30 14:14:25 +02:00
Daniel Hahler
3a19a22140 Fix recipe: ensure that extendedglob is set (#64) 2017-04-27 22:39:52 +02:00
Daniel Hahler
3fc024eced README: add Recipes section with .venv activation (#58) 2017-04-24 00:41:27 +02:00
wikibootup
0e878b9913 add zplug usage (#46) 2016-05-27 09:33:06 +07:00
Daniel Hahler
489bbb46fd README: add direnv to 'Related projects' 2015-11-12 22:30:55 +01:00
Daniel Hahler
eebdce22df Allow to limit autoenv_source_parent's upward recursion
This allows to use `autoenv_source_parent ..` to only look in the parent
directory.
2015-10-09 22:16:07 +02:00
Daniel Hahler
58268b8da3 doc: fix appearance of AUTOENV_DEBUG in README 2015-09-18 14:48:57 +02:00
Daniel Hahler
e68a914487 Change default values: .env => .autoenv.zsh etc
This changes the defaults:
 - AUTOENV_FILE_ENTER:   .env       => .autoenv.zsh
 - AUTOENV_FILE_LEAVE:   .env_leave => .autoenv_leave.zsh

`.env` is usually used only for key-value pairs for environment
settings, e.g. with foreman.  We do not want to interfere with this.

This also renames the setting/variable AUTOENV_ENV_FILENAME to
AUTOENV_AUTH_FILE, and uses the [XDG
spec](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables)
for the default location.

The new default location for the auth file will be
~/.local/share/autoenv_auth.

When the old setting is used, or the previous default exists, a warning
is given with instructions.

Fixes https://github.com/Tarrasch/zsh-autoenv/issues/31.
Closes https://github.com/Tarrasch/zsh-autoenv/pull/32.
2015-05-22 17:20:06 +02:00
Daniel Hahler
631ea30440 README: clarify that it won't load any .env file 2015-05-14 01:36:33 +02:00
Arash Rouhani
12cfed6d3f Update README.md
blueyed: fixed some punctuation/grammar.

Closes https://github.com/Tarrasch/zsh-autoenv/pull/28.
2015-05-06 23:05:24 +02:00
Daniel Hahler
362c7fe00f Huge update of the README (finally) 2015-05-06 20:53:41 +02:00
Joe Block
15bc1e3c62 Add zgen instructions 2015-02-18 20:25:28 +01:00
Daniel Hahler
d136fd8731 README: add section about manual installation 2014-12-11 16:31:41 +01:00
Daniel Hahler
57038effd1 README: build status: use master branch, and .svg 2014-12-04 07:58:45 +01:00
Arash Rouhani
b7dfc3ec04 Add bitdeli badge 2013-09-16 11:27:08 +02:00
Arash Rouhani
8bed1a975e Add travis image 2013-09-08 18:50:20 +02:00
Arash Rouhani
b849670591 Add readme 2013-09-08 17:14:28 +02:00