mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
Better test for direnv
This commit is contained in:
parent
1646e04099
commit
5aaff013da
@ -35,7 +35,7 @@
|
||||
custom = {
|
||||
direnv = {
|
||||
format = "[\\[direnv\\]]($style) ";
|
||||
when = "env | grep -E '^DIRENV_FILE='";
|
||||
when = "test -n \"$DIRENV_FILE\"";
|
||||
};
|
||||
};
|
||||
character = {
|
||||
|
Loading…
Reference in New Issue
Block a user