about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-07 20:55:02 +0100
committerSoispha <soispha@vhack.eu>2024-02-07 21:02:26 +0100
commitf986c964a6d997f4a5cd064f111fa1112f617005 (patch)
tree369b058b75f85c510f3c975a7a00d9a83ddf81ce
parentfeat(hm/pkgs/scrs): Add `mpc-fav` and `sort_song` (diff)
downloadnixos-config-f986c964a6d997f4a5cd064f111fa1112f617005.tar.gz
nixos-config-f986c964a6d997f4a5cd064f111fa1112f617005.zip
build(.envrc): Set the CDPATH
This makes it possible to just run `cd comments` to cd into
`./sys/nixpkgs/pkgs/comments`.
-rw-r--r--.envrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index a9c7e4ea..4fa6f2af 100644
--- a/.envrc
+++ b/.envrc
@@ -3,3 +3,5 @@ if on_git_branch; then
   echo && git status --short --branch &&
   echo && git fetch --verbose
 fi
+
+export CDPATH="./sys/nixpkgs/pkgs/"