update zellij layout and fix whichkey

- alacritty: add cursor style
- nvim: fix which-key, add colorizer, add debugger, update plugins
- zellij: revamp layouts
- starship: change prompt

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2024-07-17 23:56:15 +05:30
parent 567d248572
commit 9f298d08da
11 changed files with 122 additions and 204 deletions
+24 -152
View File
@@ -1,12 +1,15 @@
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = true
format = """$all$fill$status$time$line_break$sudo$character"""
right_format = """$custom"""
add_newline = false
format = """$status$cmd_duration
<$username$hostname$custom> | $directory$git_branch $git_status$git_state
$time $character"""
[character]
success_symbol = '\$'
error_symbol = '\$'
success_symbol = '>'
error_symbol = '>'
[git_commit]
tag_symbol = " tag "
@@ -18,122 +21,37 @@ diverged = "<>"
renamed = "r"
deleted = "x"
[aws]
symbol = "aws "
disabled = true
[bun]
symbol = "bun "
disabled = true
[c]
symbol = "C "
[cobol]
symbol = "cobol "
disabled = true
[conda]
symbol = "conda "
disabled = true
[crystal]
symbol = "cr "
disabled = true
[cmake]
symbol = "cmake "
[cmd_duration]
format = "ran for [$duration]($style)"
style = "italic yellow"
[custom.toolbox]
when = """ test -f /run/.containerenv && test -f /run/.toolboxenv """
description = "Config for toolbox"
style = "red"
command = """ cat /run/.containerenv | sed -n '2 p' | awk -F '"' 'NF>2{print $2}' """
format = '[ toolbox:$output]($style)'
[daml]
symbol = "daml "
disabled = true
[dart]
symbol = "dart "
disabled = true
[deno]
symbol = "deno "
disabled = true
[dotnet]
symbol = ".NET "
disabled = true
format = ':[$output]($style)'
[directory]
read_only = " ro"
[docker_context]
symbol = "docker "
[elixir]
symbol = "exs "
disabled = true
[elm]
symbol = "elm "
[fill]
symbol = ' '
[git_branch]
symbol = "git "
[golang]
symbol = "go "
[guix_shell]
symbol = "guix "
format = "on [$branch(:$remote_branch)]($style)"
[hg_branch]
symbol = "hg "
[java]
symbol = "java "
[julia]
symbol = "jl "
disabled = true
[kotlin]
symbol = "kt "
disabled = true
[lua]
symbol = "lua "
disabled = true
[nodejs]
symbol = "nodejs "
[hostname]
ssh_only = false
ssh_symbol = "ssh:"
format = "@[$ssh_symbol$hostname]($style)"
[memory_usage]
symbol = "memory "
[meson]
symbol = "meson "
[nim]
symbol = "nim "
disabled = true
[nix_shell]
symbol = "nix "
[ocaml]
symbol = "ml "
disabled = true
[opa]
symbol = "opa "
disabled = true
[os.symbols]
Alpine = "alp "
Amazon = "amz "
@@ -172,46 +90,6 @@ Ubuntu = "ubnt "
Unknown = "unk "
Windows = "win "
[package]
symbol = "pkg "
disabled = true
[perl]
symbol = "pl "
[php]
symbol = "php "
[pulumi]
symbol = "pulumi "
disabled = true
[purescript]
symbol = "purs "
disabled = true
[python]
symbol = "py "
[raku]
symbol = "raku "
disabled = true
[ruby]
symbol = "rb "
disabled = true
[rust]
symbol = "rs "
[scala]
symbol = "scala "
disabled = true
[spack]
symbol = "spack "
disabled = true
[sudo]
symbol = "#"
disabled = true
@@ -220,8 +98,8 @@ style = ''
[status]
symbol = '[](bold red)'
success_symbol = '[](bold green)'
format = ' [\[$symbol$maybe_int\]]($style) '
success_symbol = ''
format = '[\[$symbol$maybe_int\]]($style) '
not_executable_symbol = "[!EXE](red)"
style = 'purple'
not_found_symbol = "[!FOUND](red)"
@@ -229,20 +107,14 @@ sigint_symbol = "[SIGINT](red)"
signal_symbol = "[SIG](red)"
map_symbol = true
pipestatus = true
pipestatus_format = '$pipestatus=> [\[$symbol$maybe_int\]]($style) '
pipestatus_format = '$pipestatus=> [\[$common_meaning$signal_name$maybe_int\]]($style) '
disabled = false
[swift]
symbol = "swift "
disabled = true
[time]
disabled = false
format = '\[[$time]($style)\]'
[terraform]
symbol = "terraform "
disabled = true
[username]
show_always = true
format = "[$user]($style)"
[zig]
symbol = "zig "
disabled = true