Skip to content

Instantly share code, notes, and snippets.

@miklinson
Last active March 28, 2023 15:40
Show Gist options
  • Save miklinson/a32f5459b42d7f7510e34dae110ce063 to your computer and use it in GitHub Desktop.
Save miklinson/a32f5459b42d7f7510e34dae110ce063 to your computer and use it in GitHub Desktop.
Update icons to latest colored
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$git_metrics\
$fill\
$package\
$nodejs\
$php\
$docker_context\
$cmd_duration\
$line_break\
$character\
"""
[username]
style_user = "green bold"
style_root = "red bold"
format = "[$user]($style) 🐧 "
disabled = false
show_always = true
[directory]
read_only = " 🔒"
truncation_symbol = '…/'
truncation_length = 3
truncate_to_repo = false
[character]
error_symbol = "[❌](bold red)"
[git_branch]
symbol = " "
format = "[$symbol$branch]($style) "
style = "purple"
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
style = "cyan"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[git_metrics]
disabled = false
[git_commit]
commit_hash_length = 8
only_detached = false
format = '[\($hash\)]($style) '
style = "bold white"
disabled = false
[fill]
symbol = " "
[aws]
symbol = " "
disabled = true
[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
[nodejs]
format = "[ Node $version](bold green) "
version_format = "v${major}"
detect_files = ["package.json", ".node-version"]
detect_folders = ["node_modules"]
[php]
format = "[🐘 PHP$version]($style) "
version_format = "v${major}"
style = "bold blue"
[package]
symbol = "📦"
format = '[\[$symbol$version\]]($style) '
[memory_usage]
symbol = " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment