You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for taking the time to suggest this feature! I don't understand in which context would it help to have it, is it in a scenario where you're running hr multiple times and want to have a different output for all those calls are there other advantages to having it do that?
As for the use of WORD I totally agree, it should be text like you suggest or even string, but I'd only change it if I touch the code again to add a new feature, or fix something.
Thank you so much for taking the time to suggest this feature! I don't understand in which context would it help to have it, is it in a scenario where you're running hr multiple times and want to have a different output for all those calls are there other advantages to having it do that?
I thinks this feature is just for convention. without create an alias: hr="hr ${@-DEFAULT_TEXT_}", user can type:
As for the use of WORD I totally agree, it should be text like you suggest or even string, but I'd only change it if I touch the code again to add a new feature, or fix something.
Hello, I think the option to customize the default text (when running
hr
without argument) via environment variable will be a nice feature:I suggest using
HR_DEFAULT_TEXT
instead ofHR_DEFAULT_WORD
like from the code:because if (by some reason) we type:
hr 'The quick brown fox jumps over the lazy dog'
then it is definitely not a word :(
BTW, thank you for inspiring me to create (SuperB HR), a portable posix shell
hr
.The text was updated successfully, but these errors were encountered: