From c733f3326a34a57dfab4c17da659316fdb6eab6a Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 28 Feb 2024 20:26:18 +0100 Subject: feat(hm): Add nix-index and associated command_not_found_handler --- hm/soispha/conf/zsh/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hm/soispha/conf/zsh/default.nix') diff --git a/hm/soispha/conf/zsh/default.nix b/hm/soispha/conf/zsh/default.nix index faff46c9..b43147e1 100644 --- a/hm/soispha/conf/zsh/default.nix +++ b/hm/soispha/conf/zsh/default.nix @@ -68,10 +68,12 @@ initExtraFirst = builtins.readFile ./config/zsh-init.zsh # + builtins.readFile ./config/zsh-prompt.sh + + ''SHELL_LIBRARY_VERSION="2.1.1" source ${shell_library.rawLib.${system}}'' + # NOTE: This must be before the insult, as we otherwise override the previous handler <2024-02-28> + + builtins.readFile ./config/command_not_found.sh + builtins.readFile ./config/command_not_found_insult.sh + builtins.readFile ./config/custom_cursor.zsh - + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh" - + ''SHELL_LIBRARY_VERSION="2.1.1" source ${shell_library.rawLib.${system}}''; + + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh"; shellAliases = { ll = ". ll"; -- cgit 1.4.1