From 9154cf5b43d9e4f308dfceb10c356a57ef500528 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 19 May 2025 20:56:25 +0200 Subject: [PATCH] chore(zsh): implement upstreamn changes in configuration --- modules/home-manager/cli/vifm/default.nix | 4 ++-- modules/home-manager/cli/zsh/default.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/cli/vifm/default.nix b/modules/home-manager/cli/vifm/default.nix index 5f4aefa..c499ca6 100644 --- a/modules/home-manager/cli/vifm/default.nix +++ b/modules/home-manager/cli/vifm/default.nix @@ -14,11 +14,11 @@ in poppler_utils # Preview PDF file ]; programs.zsh = { - initExtra = '' + initContent = '' cdv() { cd "$(vifm --choose-dir - "$@")" } - openv() { + openv() { xdg-open "$(vifm --choose-file - "$@")" } diff --git a/modules/home-manager/cli/zsh/default.nix b/modules/home-manager/cli/zsh/default.nix index f8e5977..108dd36 100644 --- a/modules/home-manager/cli/zsh/default.nix +++ b/modules/home-manager/cli/zsh/default.nix @@ -60,7 +60,7 @@ in "\\n" = "fg=#7cafc2"; }; }; - initExtra = '' + initContent = '' # Ctrl + backspace: delete word bindkey -v "^H" backward-kill-word