88 lines
2.2 KiB
TOML
88 lines
2.2 KiB
TOML
# ~/.config/starship.toml
|
|
# UltraViolet color scheme — https://github.com/Gurvirr/zed-ultraViolet
|
|
|
|
add_newline = false
|
|
command_timeout = 1000
|
|
format = """$os$username$hostname$kubernetes$directory$python$git_branch$git_status"""
|
|
|
|
# Drop ugly default prompt characters
|
|
[character]
|
|
success_symbol = ''
|
|
error_symbol = ''
|
|
|
|
# ---
|
|
|
|
[os]
|
|
format = '[$symbol](bold fg:#DCD8ED) '
|
|
disabled = false
|
|
|
|
[os.symbols]
|
|
Windows = ' '
|
|
Arch = ' '
|
|
Ubuntu = ' '
|
|
Macos = ' '
|
|
Debian = ' '
|
|
Alpine = ' '
|
|
|
|
# ---
|
|
|
|
# Shows the username
|
|
[username]
|
|
style_user = 'fg:#DCD8ED bold'
|
|
style_root = 'fg:#FF6FAE bold'
|
|
format = '[$user]($style) '
|
|
disabled = false
|
|
show_always = true
|
|
|
|
# Shows the hostname
|
|
[hostname]
|
|
ssh_only = false
|
|
format = 'on [$hostname](bold fg:#6F78FF) '
|
|
disabled = false
|
|
|
|
# Shows current directory
|
|
[directory]
|
|
truncation_length = 1
|
|
truncation_symbol = '…/'
|
|
home_symbol = ' ~'
|
|
read_only_style = 'fg:#FF6FAE'
|
|
read_only = ' '
|
|
format = 'at [$path](fg:#C58FFF)[$read_only]($read_only_style) '
|
|
|
|
# Shows current git branch
|
|
[git_branch]
|
|
symbol = ' '
|
|
format = 'via [$symbol$branch]($style)'
|
|
truncation_symbol = '…/'
|
|
style = 'bold fg:#08BD8A'
|
|
|
|
# Shows current git status
|
|
[git_status]
|
|
format = '([ \( $all_status$ahead_behind\)]($style) )'
|
|
style = 'bold fg:#08BD8A'
|
|
conflicted = '[ conflicted=${count}](fg:#FF6FAE) '
|
|
up_to_date = '[ up-to-date](fg:#08BD8A) '
|
|
untracked = '[ untracked=${count}](fg:#FF6FAE) '
|
|
ahead = '[ ahead=${count}]'
|
|
diverged = '[ ahead=${ahead_count} behind=${behind_count}]'
|
|
behind = '[ behind=${count}]'
|
|
stashed = '[ stashed=${count}](fg:#08BD8A) '
|
|
modified = '[ modified=${count}](fg:#E297DB) '
|
|
staged = '[ staged=${count}](fg:#08BD8A) '
|
|
renamed = '[ renamed=${count}](fg:#E297DB) '
|
|
deleted = '[ deleted=${count}](fg:#FF6FAE) '
|
|
|
|
# Shows kubernetes context and namespace
|
|
[kubernetes]
|
|
format = 'via [ $context\($namespace\)](bold fg:#6F78FF) '
|
|
disabled = false
|
|
|
|
# Shows current Python version and virtualenv
|
|
[python]
|
|
symbol = ' '
|
|
format = 'via [$symbol${version}( \($virtualenv\))]($style) '
|
|
style = 'bold fg:#E297DB'
|
|
pyenv_version_name = false
|
|
detect_extensions = ['py']
|
|
detect_files = ['.python-version', 'pyproject.toml', 'requirements.txt', 'setup.py', 'Pipfile']
|