Daniel Jankowski

Results 66 comments of Daniel Jankowski

A friend and me converted a few of the scripts into bash, too. They're mostly work in progress, but may be interesting for you. https://github.com/nullbleed/fancy-motd

This would be the easiest way to prevent this flaw. Remember to sanitize every user input to be sure that an attacker has no chance to exploit the input fields....

Hi and thanks for your suggestion! I like the idea of the widget and really appreciate that you linked the sources. Taking a look into the os_info crate reveals, that...

That's awesome! Would you mind adding this to the examples section? To your suggestions for the command widget: Setting environment variables will be tough, since the config is just using...

With the latest commit, I found a way to configure the `cwd` and `env`. Here's an example: ```javascript command_git_branch_command "bash -c \"echo $FOO\"" command_git_branch_cwd "/Users/daniel" command_git_branch_env { FOO "1" BAR...

All three suggestions are now implemented with the latest commit.

As the os widget is possible with starship and the command widget now features all three suggestions, that makes starships usage easier, I'll close the issue. Feel free to comment...

Hi and thanks for your bug report. I actually thought about this behaviour previously, but didn't come to a conclusion on how to solve (except relying on the person configuring...

Hi, I've implemented a precedence config such that every combination of primary, secondary and tertiary parts is possible. e.g. `format_precedence "lcr"` If the left part is overflowing the center, center...

Truncation is unfortunately not really possible, as it could truncate in the middle of an escape sequence. Therefore I cannot really implement this without breaking the general appearance or provoking...