Repository navigation
Finish 0.2.0: warnings, blank cards, and a no-sudo installer - #8
Merged
Merged
Conversation
Warnings used to be cleared off the screen before they could be read, so now bashcards waits for return first when both the warnings and the card display are on the terminal. Deck lines with no text before or after the first = are skipped with a warning instead of showing an empty card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
89a7267 removed it along with the duplicate fronts, but it wasn't one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The install script now puts bashcards in ~/.local/bin and its man page in ~/.local/share/man, where man finds it once ~/.local/bin is on the PATH. It says how to add that directory to the PATH when it isn't there yet. Running it as root still installs into /usr/local, so `sudo` out of habit doesn't leave root-owned files in someone's home directory. The README uses `curl ... | bash` and leads with the no-sudo options for both the install script and `make install`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-ups to #7 before tagging v0.2.0.
=(like=hello,hola=,=, orhola=) are skipped with a warning instead of showing an empty card.sudo. It installs into~/.localby default (wheremanfinds the page once~/.local/binis on thePATH), says how to add~/.local/binto thePATHwhen it's missing, and still uses/usr/localwhen run as root. The README usescurl … | bash.I love you=Jag älskar digto the Swedish deck; Fixes and port back to bash 3.2 #7 removed it as a duplicate, but it wasn't one.set -eou pipefailin place of the threeset -olines.make checkpasses on each commit.🤖 Generated with Claude Code