modified starship config
(unused, keeping for archival purposes)
This commit is contained in:
+11
-26
@@ -1,20 +1,8 @@
|
|||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
add_newline = true
|
add_newline = true # Inserts a blank line between shell prompts
|
||||||
command_timeout = 1000 # Change command timeout from 500 to 1000 ms
|
command_timeout = 1000 # Change command timeout from 500 to 1000 ms
|
||||||
|
format = """${custom.uptime} $env_var $all""" # Add custom formatting before other stuff
|
||||||
#format = """$custom$env_var$all""" # Add custom formatting before other stuff
|
|
||||||
|
|
||||||
format = """
|
|
||||||
[┌─](bright black)$battery$cmd_duration─$custom─$time─$os$env_var(USER)@$hostname $git_branch$git_status $directory
|
|
||||||
[└──> ](bright black) $sudo """
|
|
||||||
|
|
||||||
#format = """
|
|
||||||
#[┌─\[[$cmd_duration\]─\[[$time]\]─\[charles@nero\]─\[~\]]
|
|
||||||
#[└──> \]
|
|
||||||
#"""
|
|
||||||
|
|
||||||
continuation_prompt = "[∙](bright-black) "
|
|
||||||
|
|
||||||
# Drop ugly default prompt characters
|
# Drop ugly default prompt characters
|
||||||
[character]
|
[character]
|
||||||
@@ -22,30 +10,31 @@ success_symbol = ""
|
|||||||
error_symbol = ""
|
error_symbol = ""
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
# Shows an icon depending on what distro it is running on
|
# Shows an icon depending on what distro it is running on
|
||||||
[env_var.STARSHIP_DISTRO]
|
[env_var.STARSHIP_DISTRO]
|
||||||
format = '[$env_value](bold white) '
|
format = '[$env_value](bold white) '
|
||||||
variable = "STARSHIP_DISTRO"
|
variable = "STARSHIP_DISTRO"
|
||||||
disabled = false
|
disabled = true
|
||||||
|
|
||||||
# Shows the current username
|
# Shows the current username
|
||||||
[env_var.USER]
|
[env_var.USER]
|
||||||
format = '[$env_value](bold white) '
|
format = '[$env_value](bold blue)'
|
||||||
variable = "USER"
|
variable = "USER"
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# Shows an icon depending on what device it is running on
|
# Shows an icon depending on what device it is running on
|
||||||
[env_var.STARSHIP_DEVICE]
|
[env_var.STARSHIP_DEVICE]
|
||||||
format = 'on $[env_value](bold yellow)'
|
format = ' on $[env_value](bold green)'
|
||||||
variable = "STARSHIP_DEVICE"
|
variable = "STARSHIP_DEVICE"
|
||||||
disabled = false
|
disabled = true
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
# Shows the hostname
|
# Shows the hostname
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
format = "[$hostname](bold yellow) "
|
format = "[$hostname](bold green) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# Shows current directory
|
# Shows current directory
|
||||||
@@ -87,16 +76,15 @@ format = 'via [ﴱ $context\($namespace\)](bold purple) '
|
|||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
[custom.uptime]
|
[custom.uptime]
|
||||||
command = "uptime.sh"
|
command = "~/bin/uptime.sh"
|
||||||
when = "true"
|
when = "true"
|
||||||
#format = "[$symbol($output)](green) "
|
format = "[$symbol($output)](bright-black)"
|
||||||
format = '\[[$symbol($output)](green)\] '
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
|
|
||||||
# Disable some modules that aren't needed anymore
|
# Disable some modules that aren't needed anymore
|
||||||
[username]
|
[username]
|
||||||
disabled = false
|
disabled = true
|
||||||
|
|
||||||
[vagrant]
|
[vagrant]
|
||||||
disabled = true
|
disabled = true
|
||||||
@@ -258,6 +246,3 @@ symbol = " "
|
|||||||
|
|
||||||
[spack]
|
[spack]
|
||||||
symbol = "🅢 "
|
symbol = "🅢 "
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
Reference in New Issue
Block a user