pet
pet copied to clipboard
Replace sh with bash
Hi, I get some sh errors with some of my snippets...How to configure pet to execute theses snippets with bash? Example : a snippet with the source command (only known by bash) Thanks!
Pet should read SHELL and execute with that. Though bash is slower to start. Maybe allow users to put a PET_SHELL=$SHELL
in their profiles.
The source
built-in command is just an alias to the .
built-in command. The dot built-in command is a POSIX requirement for any sh
implementation, so it'll be more ubiquitous than source
.
Hey @jza34 , source
works fine for me using sh though.
I like this suggestion however @brandonkal , will add this as an improvement. Should be easy to implement as well!