Created
September 23, 2023 06:38
-
-
Save cnDelbert/35a73787e54b365ff6280a37dc214548 to your computer and use it in GitHub Desktop.
A starship config file with full time and directory path.
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
add_newline = true | |
format = """ | |
$username$status$hostname$time\ | |
$git_branch$git_commit$git_state$git_metrics$git_status\ | |
$package\ | |
$c\ | |
$cmake\ | |
$dotnet\ | |
$golang\ | |
$java\ | |
$julia\ | |
$kotlin\ | |
$gradle\ | |
$lua\ | |
$nodejs\ | |
$php\ | |
$purescript\ | |
$python\ | |
$ruby\ | |
$nix_shell\ | |
$conda\ | |
$memory_usage\ | |
$env_var\ | |
$custom\ | |
$sudo\ | |
$cmd_duration\ | |
$jobs\ | |
$battery\ | |
$container\ | |
$shell\ | |
$line_break\ | |
$directory$character""" | |
[username] | |
style_user = 'red bold' | |
style_root = 'red bold' | |
format = '[Delbert]($style) ' | |
disabled = false | |
show_always = true | |
[hostname] | |
ssh_only = false | |
format = "" | |
trim_at = ".companyname.com" | |
disabled = true | |
[time] | |
disabled = false | |
use_12hr = false | |
style = "bold yellow" | |
format = '[\[π $time \]]($style) ' | |
time_format = '%Y-%m-%d %a %H:%M:%S' | |
#utc_time_offset = '-5' | |
time_range = '00:00:00-23:59:59' | |
[status] | |
# style = 'bg:blue' | |
symbol = 'π΄' | |
success_symbol = 'π’' | |
format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) ' | |
map_symbol = true | |
disabled = false | |
[package] | |
format = 'via [π $version](208 bold) ' | |
disabled = true | |
[cmake] | |
disabled = true | |
[git_branch] | |
symbol = 'π± ' | |
style = "bold green" | |
truncation_length = 40 | |
truncation_symbol = '...' | |
format = "[$symbol$branch βοΈ $remote_name/$remote_branch]($style)" | |
ignore_branches = ['master', 'main'] | |
[git_commit] | |
commit_hash_length = 8 | |
tag_symbol = 'π ' | |
format = '[\($hash$tag\)]($style) ' | |
[git_state] | |
format = '[\($state( $progress_current of $progress_total)\)]($style) ' | |
cherry_pick = '[π PICKING](bold red)' | |
[git_metrics] | |
disabled = false | |
added_style = 'bold blue' | |
format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' | |
[git_status] | |
conflicted = 'π³' | |
ahead = 'ππ¨' | |
behind = 'π°' | |
diverged = 'π΅' | |
up_to_date = 'β' | |
untracked = 'π€·' | |
stashed = 'π¦' | |
modified = 'π' | |
staged = '[++\($count\)](green)' | |
renamed = 'π ' | |
deleted = 'π' | |
[directory] | |
truncation_length = 255 | |
# truncation_symbol = 'β¦/' | |
truncate_to_repo = false | |
use_logical_path = false | |
[battery] | |
full_symbol = 'π ' | |
charging_symbol = 'β‘οΈ ' | |
discharging_symbol = 'π ' | |
[[battery.display]] # 'bold red' style and discharging_symbol when capacity is between 0% and 10% | |
threshold = 10 | |
style = 'bold red' | |
[[battery.display]] # 'bold yellow' style and π¦ symbol when capacity is between 10% and 30% | |
threshold = 80 | |
style = 'bold yellow' | |
discharging_symbol = 'π¦' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment