From 36d308aac3efc3dc42eb23e7b3e189f3e177498d Mon Sep 17 00:00:00 2001 From: Spotlight Date: Tue, 10 Oct 2023 21:18:00 -0500 Subject: [PATCH] Re-introduce keysrc keysrc allows for flexible, manual per-device configuration. Contrary to its name, it should not be used for keys - it's simply used as scratch. Should its name change? Likely! --- flake.lock | 6 +++--- home/prompt.nix | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 1a64793..4a41f44 100644 --- a/flake.lock +++ b/flake.lock @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1696604326, - "narHash": "sha256-YXUNI0kLEcI5g8lqGMb0nh67fY9f2YoJsILafh6zlMo=", + "lastModified": 1696879762, + "narHash": "sha256-Ud6bH4DMcYHUDKavNMxAhcIpDGgHMyL/yaDEAVSImQY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "87828a0e03d1418e848d3dd3f3014a632e4a4f64", + "rev": "f99e5f03cc0aa231ab5950a15ed02afec45ed51a", "type": "github" }, "original": { diff --git a/home/prompt.nix b/home/prompt.nix index 04961a6..2a7189e 100644 --- a/home/prompt.nix +++ b/home/prompt.nix @@ -55,6 +55,12 @@ in # pushd setopt AUTO_PUSHD + # Per-device, flexible configuration + # (Contrary to its name, it should not house keys.) + if [ -f $HOME/.keysrc ]; then + source $HOME/.keysrc + fi + # History search, but from beginning bindkey "^[[A" history-beginning-search-backward bindkey "^[[B" history-beginning-search-forward