Skip to content

Feat: Kali Linux style starship prompt#19

Merged
long-910 merged 2 commits intomainfrom
feat/kali-style-prompt
Mar 1, 2026
Merged

Feat: Kali Linux style starship prompt#19
long-910 merged 2 commits intomainfrom
feat/kali-style-prompt

Conversation

@long-910
Copy link
Copy Markdown
Owner

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

Summary

  • Always show username@hostname (previously SSH-only)
  • Replace prompt character with $ for regular user / # for root
  • Remove redundant $username$hostname prepended before the bracket
  • Fix hostname format ([@$hostname][$hostname], @ is in the bracket format)

Preview

┌──(user@host)─[dotfiles  main ]
└─$

Test plan

  • Open new terminal — prompt shows user@host
  • ShellCheck passes

🤖 Generated with Claude Code

long-910 and others added 2 commits March 1, 2026 20:58
- Show username/hostname always (not SSH-only)
- Replace ❯ character with $ (# for root) to match Kali style
- Remove redundant $username/$hostname at start of format line
- Update hostname format to [$hostname] (removed redundant @ prefix)

Result: ┌──(user@host)─[dir git]\n└─$

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
$line_break added an extra newline on top of the \n already in the
format string, causing an empty line between the two prompt lines.

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