configurations for fish, nvim, tmux and starship
This commit is contained in:
83
starship/.config/starship.toml
Normal file
83
starship/.config/starship.toml
Normal file
@@ -0,0 +1,83 @@
|
||||
format = """
|
||||
$username\
|
||||
$hostname\
|
||||
$directory\
|
||||
$git_branch\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$git_metrics\
|
||||
$fill\
|
||||
$cmd_duration $jobs\
|
||||
$line_break\
|
||||
$character\
|
||||
"""
|
||||
add_newline = false
|
||||
|
||||
[fill]
|
||||
symbol = " "
|
||||
|
||||
[directory]
|
||||
style = "blue"
|
||||
read_only = " "
|
||||
truncation_length = 4
|
||||
truncate_to_repo = false
|
||||
|
||||
[character]
|
||||
success_symbol = "[~> ](bold yellow)"
|
||||
error_symbol = "[~> ](bold red)"
|
||||
vicmd_symbol = "[~> ](bold green)"
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
format = 'on [$symbol$branch(:$remote_branch)]($style) '
|
||||
ignore_branches=[]
|
||||
style = "bold 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
|
||||
|
||||
[jobs]
|
||||
symbol = ""
|
||||
style = "bold red"
|
||||
number_threshold = 1
|
||||
format = "[$symbol]($style)"
|
||||
|
||||
[cmd_duration]
|
||||
format = "[$duration]($style)"
|
||||
style = "yellow"
|
||||
|
||||
[memory_usage]
|
||||
symbol = " "
|
||||
|
||||
[python]
|
||||
symbol=""
|
||||
|
||||
[c]
|
||||
symbol=""
|
||||
|
||||
[lua]
|
||||
symbol=""
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
style = "bold yellow"
|
||||
format = "[$time]($style)"
|
||||
|
||||
[custom.stunnel]
|
||||
when = "ps aux | grep stunnel | grep -v grep"
|
||||
command = "ps -o etime= -p $(ps aux | grep stunnel | grep -v grep | awk '{print $2}')"
|
||||
style = "red"
|
||||
format = "[TUNNEL OPEN for $output]($style)"
|
||||
|
85
starship/.config/starship.toml_bkp
Normal file
85
starship/.config/starship.toml_bkp
Normal file
@@ -0,0 +1,85 @@
|
||||
# ~/.config/starship.toml
|
||||
|
||||
add_newline = false
|
||||
format = """
|
||||
$username$directory$git_branch$git_status$nodejs$rust$java$python$time$character
|
||||
"""
|
||||
|
||||
# PROMPT CHARACTER
|
||||
[character]
|
||||
success_symbol = "[ ~>](bold #b8bb26)"
|
||||
error_symbol = "[ ~>](bold #fb4934)"
|
||||
vicmd_symbol = "[ ~<](bold #83a598)"
|
||||
|
||||
# DIRECTORY
|
||||
[directory]
|
||||
style = "bold #83a598"
|
||||
format = "[$path]($style) "
|
||||
|
||||
# GIT BRANCH
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
style = "bold #fe8019"
|
||||
format = "[$symbol$branch]($style) "
|
||||
|
||||
# GIT STATUS
|
||||
[git_status]
|
||||
style = "#fabd2f"
|
||||
format = '([$all_status]($style) )'
|
||||
ahead = "⇡${count}"
|
||||
behind = "⇣${count}"
|
||||
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
||||
staged = "+${count}"
|
||||
conflicted = "✖${count}"
|
||||
deleted = "-${count}"
|
||||
modified = "~${count}"
|
||||
untracked = "?${count}"
|
||||
stashed = "💾${count}"
|
||||
|
||||
# NODEJS
|
||||
[nodejs]
|
||||
symbol = " "
|
||||
style = "#b8bb26"
|
||||
format = "[$symbol($version)]($style) "
|
||||
|
||||
# RUST
|
||||
[rust]
|
||||
symbol = " "
|
||||
style = "#d3869b"
|
||||
format = "[$symbol($version)]($style) "
|
||||
|
||||
# JAVA
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "#fabd2f"
|
||||
format = "[$symbol($version)]($style) "
|
||||
|
||||
# PYTHON
|
||||
[python]
|
||||
symbol = " "
|
||||
style = "#8ec07c"
|
||||
format = "[$symbol$virtualenv]($style) "
|
||||
|
||||
# TIME (24hr)
|
||||
[time]
|
||||
disabled = false
|
||||
format = "[$time]($style) "
|
||||
style = "#928374"
|
||||
time_format = "%H:%M"
|
||||
|
||||
# CLEANUP
|
||||
[aws]
|
||||
disabled = true
|
||||
[gcloud]
|
||||
disabled = true
|
||||
[azure]
|
||||
disabled = true
|
||||
[helm]
|
||||
disabled = true
|
||||
[kubernetes]
|
||||
disabled = true
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bold #d3869b"
|
||||
format = "[$user]($style) "
|
Reference in New Issue
Block a user