-
Notifications
You must be signed in to change notification settings - Fork 234
Closed
Description
This issue references #46 as a regression.
Unfortunately, I'm on the other side of the fence. I want the bash history to be populated, in case the command fails and I need to run it again. Omitting the space in the configuration file results in a yaml error:
yaml.scanner.ScannerError: while scanning a simple key
in "<string>", line 16, column 5:
-echo "test" ...
^
Right now as a workaround, I'm appending to the history, and running the last command:
- history -s "echo \"Run this command\"" && !!
but this is clearly not ideal.
My suggestion is that if you want to suppress the history, explicitly put the space:
- ' echo "Run this command"'
and restore the previous behaviour which preserved both behaviours.
Alternatively, an option could be added that explicitly turns on bash history.
Metadata
Metadata
Assignees
Labels
No labels