diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2021-07-17 18:05:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-17 18:05:07 +0200 |
commit | 31932c2990aaa197c568088c876b871ae72de7f5 (patch) | |
tree | 8279f0cb915a3188f98036efe9a459d60fa8cb5f /src/init/mod.rs | |
parent | b1dcd5aecd676950bf550581b744c6e1bbe32317 (diff) |
fix(init): remove quotes in bash init (#2893)
Diffstat (limited to 'src/init/mod.rs')
-rw-r--r-- | src/init/mod.rs | 4 |
1 files 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 |