mirror of
https://github.com/starship/starship.git
synced 2024-11-07 08:54:50 +01:00
fix(init): remove quotes in bash init (#2893)
This commit is contained in:
parent
b1dcd5aecd
commit
31932c2990
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user