direnv Questions
22
Solved
I have a bunch of projects in my ~/Documents. I work almost exclusively in python, so these are basically all python projects. Each one, e.g. ~/Documents/foo has its own virtualenv, ~/Documents/foo...
Southwick asked 20/7, 2017 at 13:47
10
Solved
Every time I try to install a pip package with GRPCIO as a dependency inside a .direnv project I get a build failure due to my architecture being arm64. How can I work around this while waiting for...
Jeepers asked 15/3, 2021 at 15:14
3
Solved
We've been using direnv for quite some time now to automatically load environment variables in a specific folder. And since version 3, docker-compose seems to support .env files.
The .envrc files ...
Undrape asked 19/12, 2017 at 3:20
3
Solved
Imagine I am in a shell with the working directory set to a directory that contains an .envrc file. When I now open up a new tab in my terminal emulator, a new shell is launched into the same worki...
Remillard asked 3/7, 2019 at 14:59
1
I am following the direnv wiki on PS1. I have the following relevant entries in my files.
.bashrc
DEFAULT_PS1='\[$(ppwd)\]\u@\h:\w$(__git_ps1 " (%s)")'
# add some more things to DEFAULT_PS1, cond...
Condottiere asked 21/10, 2019 at 14:5
2
I'm using direnv to source my virtualenv when I change into the directory.
project/
.envrc
env/ <--- my virtualenv
.envrc
source env/bin/activate
When I change directory into /project I get ...
Bowe asked 21/9, 2018 at 5:59
1
WHAT I WANT TO DO
$ echo $USERNAME
myusername
$ export USERNAME=newvalue
$ echo $USERNAME
newvalue
WHAT IS HAPPENING
$ echo $USERNAME
myusername
$ export USERNAME=newvalue
$ echo $USERNAME
myus...
Zoologist asked 21/11, 2018 at 18:18
1
© 2022 - 2024 — McMap. All rights reserved.