From 31932c2990aaa197c568088c876b871ae72de7f5 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Sat, 17 Jul 2021 18:05:07 +0200 Subject: [PATCH] fix(init): remove quotes in bash init (#2893) --- src/init/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init/mod.rs b/src/init/mod.rs index 2450d7ac6..abff3865e 100644 --- a/src/init/mod.rs +++ b/src/init/mod.rs @@ -135,9 +135,9 @@ pub fn init_stub(shell_name: &str) -> io::Result<()> { local minor="${{BASH_VERSINFO[1]}}" if ((major > 4)) || {{ ((major == 4)) && ((minor >= 1)); }}; then - source <("{0}" init bash --print-full-init) + source <({0} init bash --print-full-init) else - source /dev/stdin <<<"$("{0}" init bash --print-full-init)" + source /dev/stdin <<<"$({0} init bash --print-full-init)" fi }} __main