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}"