From 3ef1f3ee28e587219e5a27309eea5b5f2b2aebc6 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Fri, 4 Aug 2023 07:21:01 +0530 Subject: [PATCH] global:__zoxide_prompt_old --- templates/powershell.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/powershell.txt b/templates/powershell.txt index 6f2e0e7..4a23246 100644 --- a/templates/powershell.txt +++ b/templates/powershell.txt @@ -83,7 +83,7 @@ function global:__zoxide_hook { $global:__zoxide_hooked = (Get-Variable __zoxide_hooked -ErrorAction SilentlyContinue -ValueOnly) if ($global:__zoxide_hooked -ne 1) { $global:__zoxide_hooked = 1 - $__zoxide_prompt_old = $function:prompt + $global:__zoxide_prompt_old = $function:prompt function global:prompt { if ($null -ne $__zoxide_prompt_old) {