Skip to content

Shell-startup ASCII art off by default; gallery pruned to four - #93

Draft
yulonglin wants to merge 3 commits into
mainfrom
worktree-ascii-art-prune
Draft

Shell-startup ASCII art off by default; gallery pruned to four#93
yulonglin wants to merge 3 commits into
mainfrom
worktree-ascii-art-prune

Conversation

@yulonglin

@yulonglin yulonglin commented Sep 5, 2026

Copy link
Copy Markdown
Owner

What

  • config/start.txt is no longer tracked or printed by default. It is gitignored and per machine.
  • deploy.sh --ascii=NAME writes it from config/ascii_arts/ (a .txt suffix is tolerated); --ascii=none removes it; a plain deploy leaves the current choice alone. An unknown name warns and lists what exists.
  • Gallery pruned from 16 files to 9 by taste: balloon_girl, cat, cat2, corgi, dog, paw, paw3, stars, waves3. Dropped: balloon_girl2/3/4, both kanagawa pieces, paw2, and the wider original stars (stars.txt now holds the former default, stars2). All kept pieces are 80 display columns or narrower.
  • config/zshrc.sh now guards on the file existing, so a shell with no art no longer runs cat on a missing path. The bashrc block already guarded.

Why

Startup art on every shell was noise. Keeping the flag with a curated gallery preserves the option without the default.

Verified

  • bash -n / zsh -n on the edited scripts.
  • The --ascii block exercised against a scratch DOT_DIR: empty leaves absent, cat writes cat, empty again keeps cat, dog.txt writes dog, bogus warns and lists the gallery, none removes.
  • tests/test_profile_defaults.sh: 18 passed, 0 failed.

Effect on merge

Merging deletes the tracked config/start.txt in the main checkout, so the art stops on the next new shell with no deploy needed. To bring one back on a machine: ./deploy.sh --ascii=balloon_girl.

https://claude.ai/code/session_01PCVS6wJHQndykfPN2ESvh7

config/start.txt was tracked and printed on every interactive zsh and
bash start. It is now untracked and per machine: nothing prints unless
`deploy.sh --ascii=NAME` writes it, `--ascii=none` removes it, and a
plain deploy leaves the current choice alone. The gallery drops the
twelve 120–450-column pieces that no terminal fits and keeps cat, dog,
paw and stars (all under 100 columns).

Claude-Session: https://claude.ai/code/session_01PCVS6wJHQndykfPN2ESvh7
Restores the exact start.txt from that period (balloon_girl2 minus two
blank padding lines top and bottom), 41 lines by 100 display columns.
The earlier width figures counted UTF-8 bytes, not columns; the piece
fits an ordinary terminal.

Claude-Session: https://claude.ai/code/session_01PCVS6wJHQndykfPN2ESvh7
…, stars, waves3

Restores the original balloon_girl, cat2, corgi, paw, paw3 and waves3;
drops paw2 and the balloon_girl2 variant. Nine pieces, all 80 columns
or narrower. stars.txt keeps the former default (stars2) content.

Claude-Session: https://claude.ai/code/session_01PCVS6wJHQndykfPN2ESvh7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant