starship: tema powerline (morado/azul/ámbar) + reloj; fastfetch banner y agente SSH Bitwarden en zshrc
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
SSH_AUTH_SOCK=/home/VampireJSV/.bitwarden-ssh-agent.sock
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
GTK_IM_MODULE=xim
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
|
"logo": {
|
||||||
|
"type": "auto",
|
||||||
|
"padding": {
|
||||||
|
"top": 1,
|
||||||
|
"left": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"separator": " ",
|
||||||
|
"color": {
|
||||||
|
"keys": "35"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"title",
|
||||||
|
"separator",
|
||||||
|
"os",
|
||||||
|
"host",
|
||||||
|
"kernel",
|
||||||
|
"uptime",
|
||||||
|
"packages",
|
||||||
|
"shell",
|
||||||
|
"terminal",
|
||||||
|
"wm",
|
||||||
|
"de",
|
||||||
|
"cpu",
|
||||||
|
"gpu",
|
||||||
|
"memory",
|
||||||
|
"disk",
|
||||||
|
"break",
|
||||||
|
"colors"
|
||||||
|
]
|
||||||
|
}
|
||||||
+114
-12
@@ -1,26 +1,128 @@
|
|||||||
# starship — tema Catppuccin Mocha
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
|
add_newline = false
|
||||||
|
|
||||||
palette = "catppuccin_mocha"
|
palette = "catppuccin_mocha"
|
||||||
|
|
||||||
format = "$directory$git_branch$git_status$python$rust$nodejs$cmd_duration$character"
|
format = """
|
||||||
|
[](fg:#a277ff)\
|
||||||
|
[ ](bg:#a277ff fg:#1e1e2e)\
|
||||||
|
[](fg:#a277ff bg:#61afef)\
|
||||||
|
[ $directory](bg:#61afef fg:#1e1e2e)\
|
||||||
|
[](fg:#61afef)\
|
||||||
|
$git_branch\
|
||||||
|
$git_status\
|
||||||
|
$nodejs\
|
||||||
|
$python\
|
||||||
|
$rust\
|
||||||
|
$golang\
|
||||||
|
$java\
|
||||||
|
$docker_context\
|
||||||
|
$cmd_duration\
|
||||||
|
$line_break\
|
||||||
|
$character"""
|
||||||
|
|
||||||
[character]
|
right_format = """
|
||||||
success_symbol = "[➜](green)"
|
[](fg:#1e1e2e)\
|
||||||
error_symbol = "[➜](red)"
|
$time\
|
||||||
|
"""
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
|
style = "bg:#61afef fg:#1e1e2e"
|
||||||
|
format = "[$path]($style)[$read_only]($read_only_style) "
|
||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
style = "blue"
|
truncate_to_repo = true
|
||||||
|
home_symbol = " ~"
|
||||||
|
read_only = " "
|
||||||
|
read_only_style = "bg:#61afef fg:#f38ba8"
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
style = "mauve"
|
symbol = " "
|
||||||
|
style = "bg:#e0af68 fg:#1e1e2e"
|
||||||
|
format = "[](fg:#61afef bg:#e0af68)[ $symbol$branch ]($style)[](fg:#e0af68) "
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bold peach"
|
||||||
|
format = '([$all_status$ahead_behind]($style)) '
|
||||||
|
conflicted = "="
|
||||||
|
ahead = "⇡${count}"
|
||||||
|
behind = "⇣${count}"
|
||||||
|
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
||||||
|
untracked = "?${count}"
|
||||||
|
stashed = "*${count}"
|
||||||
|
modified = "!${count}"
|
||||||
|
staged = "+${count}"
|
||||||
|
renamed = "»${count}"
|
||||||
|
deleted = "✘${count}"
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = ""
|
||||||
|
style = "bold green"
|
||||||
|
format = "[$symbol $version]($style) "
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = ""
|
||||||
|
style = "bold yellow"
|
||||||
|
format = "[$symbol $version]($style) "
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = ""
|
||||||
|
style = "bold red"
|
||||||
|
format = "[$symbol $version]($style) "
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = ""
|
||||||
|
style = "bold sky"
|
||||||
|
format = "[$symbol $version]($style) "
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = ""
|
||||||
|
style = "bold maroon"
|
||||||
|
format = "[$symbol $version]($style) "
|
||||||
|
|
||||||
|
[docker_context]
|
||||||
|
symbol = ""
|
||||||
|
style = "bold blue"
|
||||||
|
format = "[$symbol $context]($style) "
|
||||||
|
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
min_time = 2000
|
min_time = 2000
|
||||||
style = "yellow"
|
style = "bold yellow"
|
||||||
|
format = "took [$duration]($style) "
|
||||||
|
|
||||||
|
[time]
|
||||||
|
disabled = false
|
||||||
|
style = "bg:#1e1e2e fg:#c0caf5"
|
||||||
|
format = "[ $time ]($style)"
|
||||||
|
time_format = "%I:%M:%S %p"
|
||||||
|
|
||||||
|
[character]
|
||||||
|
success_symbol = "[❯](bold #a277ff)"
|
||||||
|
error_symbol = "[❯](bold red)"
|
||||||
|
vimcmd_symbol = "[❮](bold #a277ff)"
|
||||||
|
|
||||||
[palettes.catppuccin_mocha]
|
[palettes.catppuccin_mocha]
|
||||||
blue = "#89b4fa"
|
rosewater = "#f5e0dc"
|
||||||
green = "#a6e3a1"
|
flamingo = "#f2cdcd"
|
||||||
red = "#f38ba8"
|
pink = "#f5c2e7"
|
||||||
yellow = "#f9e2af"
|
|
||||||
mauve = "#cba6f7"
|
mauve = "#cba6f7"
|
||||||
|
red = "#f38ba8"
|
||||||
|
maroon = "#eba0ac"
|
||||||
|
peach = "#fab387"
|
||||||
|
yellow = "#f9e2af"
|
||||||
|
green = "#a6e3a1"
|
||||||
|
teal = "#94e2d5"
|
||||||
|
sky = "#89dceb"
|
||||||
|
sapphire = "#74c7ec"
|
||||||
|
blue = "#89b4fa"
|
||||||
|
lavender = "#b4befe"
|
||||||
|
text = "#cdd6f4"
|
||||||
|
subtext1 = "#bac2de"
|
||||||
|
subtext0 = "#a6adc8"
|
||||||
|
overlay2 = "#9399b2"
|
||||||
|
overlay1 = "#7f849c"
|
||||||
|
overlay0 = "#6c7086"
|
||||||
|
surface2 = "#585b70"
|
||||||
|
surface1 = "#45475a"
|
||||||
|
surface0 = "#313244"
|
||||||
|
base = "#1e1e2e"
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
# ~/.zshrc — gestionado por chezmoi (repo configs)
|
# ~/.zshrc — gestionado por chezmoi (repo configs)
|
||||||
|
|
||||||
|
# Banner de bienvenida
|
||||||
|
command -v fastfetch >/dev/null && [[ $- == *i* ]] && fastfetch
|
||||||
|
|
||||||
# Historia
|
# Historia
|
||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
@@ -27,3 +30,8 @@ command -v starship>/dev/null && eval "$(starship init zsh)"
|
|||||||
|
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
|
# Bitwarden como contenedor/agente de llaves SSH
|
||||||
|
if [ -S "$HOME/.bitwarden-ssh-agent.sock" ]; then
|
||||||
|
export SSH_AUTH_SOCK="$HOME/.bitwarden-ssh-agent.sock"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user