From 70c350ff9696714ca0c16a2301447ccdcd3954bc Mon Sep 17 00:00:00 2001 From: Carson Riker Date: Wed, 17 Feb 2021 09:05:18 -0500 Subject: [PATCH] Specified external call to cd for fish (#146) --- templates/fish.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/fish.txt b/templates/fish.txt index 63f269d..db84e31 100644 --- a/templates/fish.txt +++ b/templates/fish.txt @@ -10,15 +10,15 @@ # pwd based on the value of _ZO_RESOLVE_SYMLINKS. function __zoxide_pwd {%- if resolve_symlinks %} - pwd -P + command pwd -P {%- else %} - pwd -L + command pwd -L {%- endif %} end # cd + custom logic based on the value of _ZO_ECHO. function __zoxide_cd - cd $argv + command cd $argv {%- if echo %} and __zoxide_pwd {%- endif %}