-
-
Save ilium007/e3afb58ed633ab6d95d0a902af320274 to your computer and use it in GitHub Desktop.
My Starship terminal configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
#format = """ | |
#[╭─user───❯](bold blue) $username | |
#[┣─system─❯](bold yellow) $hostname | |
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs | |
#[╰─cmd────❯](bold green) | |
#""" | |
format = """\ | |
$all\ | |
$cmd_duration\ | |
$fill\ | |
$time\ | |
$line_break\ | |
$jobs\ | |
$battery\ | |
$status\ | |
$os\ | |
$container\ | |
$shell\ | |
$character\ | |
""" | |
[fill] | |
symbol = " " | |
[time] | |
disabled = false | |
style = "bold white" | |
format = "[$time]($style)" | |
#utc_time_offset = "+10" | |
[username] | |
style_user = "green bold" | |
style_root = "red bold" | |
format = "[$user]($style) " | |
disabled = false | |
show_always = true | |
[hostname] | |
ssh_only = false | |
format = 'on [$hostname](bold yellow) ' | |
trim_at = "." | |
disabled = false | |
# Replace the "❯" symbol in the prompt with "➜" | |
[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)" | |
# | |
# 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" | |
[cmd_duration] | |
min_time = 4 | |
show_milliseconds = false | |
disabled = false | |
style = "bold italic red" | |
[aws] | |
symbol = " " | |
[conda] | |
symbol = " " | |
[dart] | |
symbol = " " | |
[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 = " " | |
[golang] | |
symbol = " " | |
[hg_branch] | |
symbol = " " | |
[java] | |
symbol = " " | |
[julia] | |
symbol = " " | |
[memory_usage] | |
symbol = " " | |
[nim] | |
symbol = " " | |
[nix_shell] | |
symbol = " " | |
[package] | |
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"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment