Skip to content

Fix: starship prompt layout and WSL2 Nerd Fonts documentation#22

Merged
long-910 merged 5 commits intomainfrom
chore/cleanup-maintenance
Mar 8, 2026
Merged

Fix: starship prompt layout and WSL2 Nerd Fonts documentation#22
long-910 merged 5 commits intomainfrom
chore/cleanup-maintenance

Conversation

@long-910
Copy link
Copy Markdown
Owner

@long-910 long-910 commented Mar 8, 2026

Summary

  • starship prompt fix: language version modules ($nodejs, $python, $rust, $golang) and $cmd_duration were appearing between the two prompt lines (after \n and before └─$). Moved them to the first line so the prompt renders correctly.
  • WSL2 docs: added a note under the lsd entry in all three READMEs (EN/JA/ZH) explaining that Nerd Fonts must be installed on the Windows side for file-type icons to display correctly in WSL2 terminals.

Before / After

Before:

┌──(long@X1)─[BinSleuth  main ]
 v1.93.1 └─$

After:

┌──(long@X1)─[BinSleuth  main ]  v1.93.1
└─$

Test plan

  • Open a terminal in a directory with a Cargo.toml — Rust version should appear on the first line
  • Run a command that takes >2s — duration should appear on the first line
  • Verify └─$ always appears alone on the second line
  • Check WSL2 Nerd Fonts note is visible in README.md, README.ja.md, README.zh.md

🤖 Generated with Claude Code

long-910 and others added 5 commits March 1, 2026 22:11
- dotfiles/.zshrc: remove duplicate tmux auto-attach block (lines
  166-169); superseded by .zshrc.d/tmux.zsh which uses exec and also
  skips VSCode terminal
- uninstall.sh: add tmux.zsh to ZSHRC_D_FILES so it is cleaned up on
  uninstall
- tests/test_configs.sh: add tmux.zsh to .zshrc.d file existence check
- README.md/ja/zh: fix tmux description — remove incorrect "named main"
  session reference to match actual tmux.zsh behavior
- CLAUDE.md: add tmux.zsh to .zshrc.d structure listing; annotate
  core.sh with tmux.zsh deployment
- CHANGELOG.md: add [0.5.0] entry covering kali-style prompt, tmux
  auto-attach, CI/ShellCheck fixes, and this maintenance cleanup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The previous commit inadvertently changed uninstall.sh from 100755 to
100644 (non-executable) due to Windows/WSL filesystem mode handling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rd Fonts setup

- starship.toml: move $nodejs/$python/$rust/$golang and $cmd_duration before \n
  so they appear on the first line instead of between the two prompt lines
- README.md/ja/zh: add WSL2 note under lsd explaining Nerd Fonts must be
  installed on the Windows side for icons to render correctly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…WSL2

- starship.toml: move $git_state to first line so MERGING/REBASING state
  appears inline instead of on the same line as └─$
- node.zsh: fall back to XDG_RUNTIME_DIR=/tmp when runtime dir does not
  exist (WSL2 without systemd), preventing fnm multishell symlink errors

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@long-910 long-910 merged commit d5d8496 into main Mar 8, 2026
7 checks passed
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