diff --git a/src/main.rs b/src/main.rs index d9e1cdd..62090a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,14 +15,14 @@ const MAX_DEPTH: usize = 5; fn setup_shell(code_root: &Path) { println!( - r##" + r#" h() {{ - _h_dir=$(command repo resolve --root "#{}" "$@") + _h_dir=$(command repo resolve --root "{}" "$@") _h_ret=$? [ "$_h_dir" != "$PWD" ] && cd "$_h_dir" return $_h_ret }} -"##, +"#, code_root.display() ); }