From c0fabc4f2045954534c73c15fc2b807c78001d08 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 17 Apr 2024 00:08:13 +0100 Subject: [PATCH] Rename variable --- lib/shared/modules/zsh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index abb1c60..bde0f85 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -37,9 +37,9 @@ user_path="''${HOME}/Code/''${domain}/''${user}" - user_repo_path="''${user_path}/''${repo_name}" + repo_path="''${user_path}/''${repo_name}" - [[ -d "''${user_repo_path}" ]] && t "''${user_repo_path}" && return + [[ -d "''${repo_path}" ]] && t "''${repo_path}" && return ${pkgs.coreutils}/bin/mkdir -p "''${user_path}" pushd "''${user_path}"