From f6522d1cf8752bc39b404f67ba2a8957d0d9e271 Mon Sep 17 00:00:00 2001 From: Greedwolf DSS Date: Sat, 4 Jul 2020 15:58:42 +0800 Subject: [PATCH] fix: fish pwd usage (#92) --- src/subcommand/init/shell/fish.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subcommand/init/shell/fish.rs b/src/subcommand/init/shell/fish.rs index 2c56631..15098f9 100644 --- a/src/subcommand/init/shell/fish.rs +++ b/src/subcommand/init/shell/fish.rs @@ -69,14 +69,14 @@ end const HOOK_PROMPT: &str = r#" function _zoxide_hook --on-event fish_prompt - zoxide add $(pwd -L) + zoxide add (pwd -L) end "#; const fn hook_pwd() -> Result> { const HOOK_PWD: &str = r#" function _zoxide_hook --on-variable PWD - zoxide add "$(pwd -L)" + zoxide add (pwd -L) end "#;