fix: multiline commands are executed twice

This commit is contained in:
iff 2025-04-10 19:59:58 +02:00
parent cd49ea3d9b
commit 969c372703
4 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
history -s {{ command }};
history -s "{{ command }}";
{%- if let Some(cd) = self.cd %}
cd {{ cd }}