Specified external call to cd for fish

This commit is contained in:
Carson 2021-02-02 17:05:31 -05:00
parent f723dbcad9
commit 3febb072f4
1 changed files with 3 additions and 3 deletions

View File

@ -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 %}