diff --git a/plugins/z/z.fish b/plugins/z/z.fish index b138529..31b8e3d 100644 --- a/plugins/z/z.fish +++ b/plugins/z/z.fish @@ -1,3 +1,3 @@ function z - cd (bash -c 'source $Z_SCRIPT_PATH; _z $0; echo $PWD' $argv) + cd (bash -c "source $Z_SCRIPT_PATH; _z $argv; echo \$PWD") end