add starship conf

This commit is contained in:
Jeff Lance 2023-11-11 16:40:45 +01:00
parent 9a3eee6938
commit 9a61b72e35
2 changed files with 155 additions and 0 deletions

151
conf/starship.toml Normal file
View File

@ -0,0 +1,151 @@
# ~/.config/starship.toml
format = """
$username\
$hostname\
$localip\
$shlvl\
$singularity\
$kubernetes\
$directory\
$vcsh\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
$git_status\
$hg_branch\
$docker_context\
$package\
$cmake\
$cobol\
$container\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$kotlin\
$lua\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$pulumi\
$purescript\
$python\
$rlang\
$red\
$ruby\
$rust\
$scala\
$swift\
$terraform\
$vlang\
$vagrant\
$zig\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$openstack\
$azure\
$env_var\
$crystal\
$custom\
$sudo\
$cmd_duration\
$line_break\
$jobs\
$battery\
$time\
$status\
$shell\
$character"""
# Inserts a blank line between shell prompts
add_newline = true
# Timeout for commands executed by starship (in milliseconds)
command_timeout = 5000
# 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"
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
[aws]
symbol = " "
[conda]
symbol = " "
format = "[$symbol$environment](dimmed green) "
[dart]
symbol = " "
[directory]
read_only = " "
format = "in [$path]($style)[$read_only]($read_only_style) "
[docker_context]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
[git_branch]
symbol = " "
[golang]
symbol = " "
[hg_branch]
symbol = " "
[hostname]
ssh_only = false
format = "on [$hostname](bold red) "
disabled = false
[java]
symbol = " "
[julia]
symbol = " "
[memory_usage]
symbol = " "
[nim]
symbol = " "
[nix_shell]
symbol = " "
[nodejs]
symbol = " "
#[package]
#symbol = " "
[rust]
symbol = " "
[username]
format = "[$user]($style) "
show_always = true

4
meta/tasks/starship.yaml Normal file
View File

@ -0,0 +1,4 @@
- link:
~/.config/starship.toml:
path: conf/starship.toml