From f30ff52f927b2842976cbc4c1f1bc85aa9ff5871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 23 Jun 2024 22:22:07 +0200 Subject: [PATCH] Sun Jun 23 10:22:07 PM CEST 2024 --- home/zsh/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 26ee98f..4826b9a 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -25,6 +25,7 @@ PYTHONDONTWRITEBYTECODE = "1"; GOPATH = "${config.xdg.dataHome}/go"; DIRENV_LOG_FORMAT = ""; + OPENER = "${pkgs.handlr-regex}/bin/handlr open"; }; programs.direnv = { enable = true; @@ -72,14 +73,15 @@ source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme source ${./files/p10k.zsh} source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh + source ${./files/keys.zsh} function zvm_after_init() { + source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh source ${./files/term.zsh} source ${./files/completion.zsh} if [ -n "\$\{commands[fzf-share]\}" ]; then source "$(fzf-share)/key-bindings.zsh" source "$(fzf-share)/completion.zsh" fi - source ${./files/keys.zsh} } function run() { nix run "nixpkgs#$1" -- "''${@:2}"