浏览代码

Merge pull request #189 from eza-community/add-condition-envrc

Avoid error messages if direnv is installed but nix isn't
Christina Sørensen 2 年之前
父节点
当前提交
bfe27ae806
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .envrc

+ 3 - 1
.envrc

@@ -1 +1,3 @@
-use flake .
+if has nix; then
+  use flake .
+fi