aviu16
b7ac62447d
Fix unquoted variable expansions in source commands
...
Quote file paths to prevent word splitting issues.
Changed:
- microk8s line 13: source $cache → source "$cache"
- autoenv line 54: source $autoenv_dir/activate → source "$autoenv_dir/activate"
- autoenv line 56: source $autoenv_dir/activate.sh → source "$autoenv_dir/activate.sh"
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-16 16:04:21 -05:00
Carlo Sala
d1c64bfda3
fix(autoenv): typo
2023-06-05 10:26:36 +02:00
Diego Costa R
b36c90d9ab
feat(autoenv): macOS compatibility, add more dirs ( #11724 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-06-05 10:25:17 +02:00
JM" (Jason Meridth)
eaa6024421
feat(autoenv): add path for Apple Silicon Homebrew ( #10749 )
2022-03-02 20:47:55 +01:00
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