dwt1--dotfiles/.config/starship.toml

153 lines
2.9 KiB
TOML
Raw Permalink Normal View History

2022-11-14 17:50:31 +00:00
#format = """
#[╭─user───](bold blue) $username
#[┣─system─](bold yellow) $hostname
2022-11-14 20:48:16 +00:00
#[┣─project](bold red) $directory$rust$git_branch$git_state$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
2022-11-14 17:50:31 +00:00
#[╰─cmd────](bold green)
#"""
[username]
style_user = "green bold"
style_root = "red bold"
format = "[$user]($style) "
disabled = false
show_always = true
2020-12-05 21:31:12 +00:00
2022-11-14 17:50:31 +00:00
[hostname]
ssh_only = false
format = 'on [$hostname](bold purple) '
trim_at = "."
disabled = false
2020-12-05 21:31:12 +00:00
# Replace the "" symbol in the prompt with "➜"
2022-11-14 17:50:31 +00:00
[character] # The name of the module we are configuring is "character"
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
error_symbol = "[✗](bold red)"
2022-11-14 17:50:31 +00:00
#  
# configure directory
[directory]
read_only = " "
truncation_length = 10
truncate_to_repo = true # truncates directory to root folder if in github repo
style = "bold italic blue"
2020-12-05 21:31:12 +00:00
2022-11-14 17:50:31 +00:00
[cmd_duration]
min_time = 4
show_milliseconds = false
disabled = false
style = "bold italic red"
[aws]
symbol = " "
[conda]
symbol = " "
[dart]
symbol = " "
#[directory]
#read_only = " "
[docker_context]
symbol = " "
format = "via [$symbol$context]($style) "
style = "blue bold"
only_with_files = true
detect_files = ["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]
detect_folders = []
disabled = false
[elixir]
symbol = " "
[elm]
symbol = " "
[git_branch]
symbol = " "
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
stashed = "[${count}*](green)"
modified = "[${count}+](yellow)"
deleted = "[${count}-](red)"
conflicted = "[${count}~](red)"
ahead = "⇡${count}"
behind = "⇣${count}"
untracked = "[${count}?](blue)"
staged = "[${count}+](green)"
2022-11-14 20:48:16 +00:00
[git_state]
style = "bold red"
format = "[$state( $progress_current/$progress_total) ]($style)"
rebase = "rebase"
merge = "merge"
revert = "revert"
cherry_pick = "cherry"
bisect = "bisect"
am = "am"
am_or_rebase = "am/rebase"
2022-11-14 17:50:31 +00:00
[golang]
symbol = " "
[hg_branch]
symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
[haskell]
symbol = "λ "
[memory_usage]
symbol = " "
[nim]
symbol = " "
[nix_shell]
symbol = " "
2020-12-05 21:31:12 +00:00
[package]
2022-11-14 17:50:31 +00:00
symbol = " "
[perl]
symbol = " "
[php]
symbol = " "
[python]
symbol = "🐍 "
#pyenv_version_name = true
format = 'via [${symbol}python (${version} )(\($virtualenv\) )]($style)'
style = "bold yellow"
pyenv_prefix = "venv "
python_binary = ["./venv/bin/python", "python", "python3", "python2"]
detect_extensions = ["py"]
version_format = "v${raw}"
[ruby]
symbol = " "
[rust]
symbol = " "
[scala]
symbol = " "
[shlvl]
symbol = " "
[swift]
symbol = "ﯣ "
[nodejs]
format = "via [ Node.js $version](bold green) "
detect_files = ["package.json", ".node-version"]
detect_folders = ["node_modules"]