Support default user; use emojis and fallback to Nerd Font #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR performs two main changes:
gc-rust
now can find if aGC_GITHUB_USERNAME
orGITHUB_USERNAME
is set, and if so, use that as the username of the command-line prompt. So for me, if I want to clone this repo or, say,http-server
I can simply set myGITHUB_USERNAME
to `patrickdappollonio and run:(If you're using the bash function, you need to replace
gc-rust
with `gc).The second change is that several users reported issues with the Nerd Font glyphs used in their terminals. Not everyone has a patched Nerd Font set. To keep this behaviour backwards-compatible, we'll do the following:
This makes it friendly for use on new versions of the Gnome shell, Konsole or even the default
Terminal.app
on macOS (or the new Ghostty).