New backup 2026-02-05 10:11:55
This commit is contained in:
parent
adf2951049
commit
b054bf8819
2 changed files with 85 additions and 0 deletions
84
default/home/.config/starship.toml
Normal file
84
default/home/.config/starship.toml
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
# 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 = '[░▒▓](fg:purple bg:transparent)[ ${user}](fg:black bg:purple)'
|
||||
format = """[░▒▓](fg:purple bg:transparent)\
|
||||
$time\
|
||||
$sudo\
|
||||
$username\
|
||||
${custom.hostname}\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
$git_metrics\
|
||||
$line_break\
|
||||
$character"""
|
||||
|
||||
#$git_status\
|
||||
|
||||
[username]
|
||||
style_user = 'bg:purple fg:black'
|
||||
#style_root = 'bg:blue fg:black'
|
||||
format = '[ $user ]($style)[](fg:purple bg:black)'
|
||||
show_always = true
|
||||
|
||||
[sudo]
|
||||
style = 'bold bg:purple fg:black'
|
||||
#symbol = 'root'
|
||||
format = '[ ‼]($style)'
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
truncation_length = 2
|
||||
fish_style_pwd_dir_length = 2
|
||||
format = '[ $path]($style)[$read_only]($read_only_style)'#[](fg:cyan bg:black)'
|
||||
style = 'bg:transparent fg:cyan'
|
||||
truncate_to_repo = true
|
||||
|
||||
[git_branch]
|
||||
format = ' [$symbol$branch(:$remote_branch)]($style)'
|
||||
|
||||
[git_status]
|
||||
#format = ' [](fg:green)[$all_status$ahead_behind]($style)[](fg:green)'
|
||||
format = ' [$all_status$ahead_behind]($style)'
|
||||
#up_to_date = ''
|
||||
style = 'fg:green'
|
||||
#style = 'bg:green fg:black'
|
||||
|
||||
[git_commit]
|
||||
format = ' [\($hash$tag\)]($style)'
|
||||
only_detached = false
|
||||
tag_disabled = false
|
||||
|
||||
[git_metrics]
|
||||
disabled = false
|
||||
added_style = 'bold blue'
|
||||
format = ' [+$added]($added_style)/[-$deleted]($deleted_style) '
|
||||
only_nonzero_diffs = true
|
||||
|
||||
[time]
|
||||
disabled = true
|
||||
style = 'bg:purple fg:black'
|
||||
time_format = '%H:%M'
|
||||
format = '[ \[$time\]]($style)'
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
#trim_at =
|
||||
ssh_symbol = '\[\]'
|
||||
aliases = { "pogmommy" = "", "penelope" = "" }
|
||||
disabled = false
|
||||
|
||||
[custom.hostname]
|
||||
#command = 'hostname | cut -d - -f 3-'
|
||||
command = ' hostname | sed -n "s/^.*-\(.*\)-.*$/\1/p"'
|
||||
when = true
|
||||
style = 'bold bg:black fg:purple'
|
||||
format = '[ ](fg:red bg:black)[$symbol($output )]($style)[](fg:black bg:transparent)'
|
||||
|
||||
[character]
|
||||
success_symbol = '[\$](green)'
|
||||
error_symbol = '[\$](red)'
|
||||
|
|
@ -14,3 +14,4 @@ Scripts/iso_updater.sh
|
|||
Scripts/fix-swap-part.sh
|
||||
.local/bin/serverutil-deb-upload
|
||||
.local/bin/ssh-agent-handler.sh
|
||||
.config/starship.toml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue