From 176e0a2c109c85715b1f9e109998ad18b457fc9b Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 16 Sep 2024 00:29:17 -0400 Subject: [PATCH] shells/zsh: fix nix store path remover --- users/modules/global/shells/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/modules/global/shells/zsh.nix b/users/modules/global/shells/zsh.nix index d52fe58..5d2e6fa 100644 --- a/users/modules/global/shells/zsh.nix +++ b/users/modules/global/shells/zsh.nix @@ -35,7 +35,7 @@ } if [[ "$(basename "$(readlink "/proc/$PPID/exe")")" == ".kitty-wrapped" ]]; then - PATH=$(echo "$PATH" | sed 's/\/nix\/store\/[a-zA-Z._0-9-]\+\/bin:\?//g' | sed 's/:$//') + PATH=$(echo "$PATH" | sed 's/\/nix\/store\/[a-zA-Z._0-9+-]\+\/bin:\?//g' | sed 's/:$//') fi j() {