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 "#;