1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-19 00:35:36 +00:00
dotfiles/config/starship.toml

45 lines
919 B
TOML

# Adapted from: https://github.com/ptrcnull/dotfiles/blob/master/config/starship.toml
add_newline = true
format = """
$env_var\
$username\
$hostname\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$python\
$character"""
[env_var.CUSTOM_PROMPT_TAG]
format = "[$env_value]($style) "
style = "green bold"
[username]
format = "[$user]($style)@"
[hostname]
format = "[$hostname]($style) "
[directory]
truncate_to_repo = false
fish_style_pwd_dir_length = 3
[git_status]
format = "$ahead_behind$conflicted$stashed$deleted$renamed$staged$modified$untracked"
ahead = "[⇡${count}](yellow) "
behind = "[⇣${count}](yellow) "
stashed = "[*${count}](yellow) "
deleted = "[x${count}](red) "
staged = "[+${count}](yellow) "
modified = "[!${count}](yellow) "
untracked = "[?${count}](cyan) "
[python]
format = 'with [${symbol}${pyenv_prefix}($virtualenv )]($style)'
detect_files = []
detect_extensions = []