Skip to content

Instantly share code, notes, and snippets.

View Mohammad-Reihani's full-sized avatar

Mohammad Reihani Mohammad-Reihani

View GitHub Profile
@Mohammad-Reihani
Mohammad-Reihani / starship.toml
Last active August 27, 2025 20:37
Starship configuration file | Reproduced Kali's default PS1 prompt
# ~/.config/starship.toml
add_newline = true
continuation_prompt = "[▸▹ ](dimmed white)"
format = """[┌──\\(](bold green)$username[㉿](bold green)$hostname[\\)-\\[](bold green)$time[\\]-\\[](bold green)$directory[\\]](bold green)\
(\n[│](green)( $python) |( $git_branch$git_commit$git_state))
[└](bold green)$cmd_duration[─](bold green)[\\$ ](bold blue)"""
right_format = '''$battery'''
@ryo-ARAKI
ryo-ARAKI / starship.toml
Last active March 12, 2026 02:14
Starship configuration file
# ~/.config/starship.toml
# NOTE: Emojis with variation selectors or unstable display widths may cause prompt rendering glitches.
# Examples include ⚔️ 🏎️ 🗃️ 🗑️ ✒️
# If layout breaks, prefer colourful emojis without variation selectors.
format = """
$username$hostname$directory$git_branch$git_commit$git_state$git_metrics$git_status$julia$python$rust$conda$direnv$fill$memory_usage$cmd_duration$battery$time
$character"""