From 8d74ee5071cf618dd96ab50c2e250bfef56fe67a Mon Sep 17 00:00:00 2001 From: tiago Date: Sun, 25 May 2025 16:52:06 +0100 Subject: [PATCH] fish and starship minor changes --- .config/fish/config.fish | 3 ++- .config/fish/functions/fish_greeting.fish | 1 - .config/starship.toml | 19 +++++++++++++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 05b3c2c..02055b8 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -26,8 +26,9 @@ source $XDG_CONFIG_HOME/fish/aliasrc #fish_default_key_bindings fish_vi_key_bindings +set fish_cursor_insert block bind \cH backward-kill-path-component -bind "[3;5~" kill-word +# bind "[3;5~" kill-word bind -M insert \cf $XDG_DATA_HOME/scripts/tmux-sessionizer.sh bind -M default \cf $XDG_DATA_HOME/scripts/tmux-sessionizer.sh diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish index 6783c79..018520b 100644 --- a/.config/fish/functions/fish_greeting.fish +++ b/.config/fish/functions/fish_greeting.fish @@ -1,3 +1,2 @@ function fish_greeting - # pfetch end diff --git a/.config/starship.toml b/.config/starship.toml index 36dc991..acc8c32 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -1,8 +1,9 @@ add_newline = false -palette = "catppuccin_macchiato" +palette = "gruvbox_dark" format = """ +$hostname\ $directory\ $fossil_branch\ $git_branch\ @@ -83,7 +84,9 @@ symbol = " " symbol = " " [hostname] -ssh_symbol = " " +ssh_only = false +format = '[$ssh_symbol](bold blue)[\[$hostname\]](bold yellow) ' +trim_at = '.bofh-eurotux.com' [java] symbol = " " @@ -303,3 +306,15 @@ surface0 = "#313244" base = "#1e1e2e" mantle = "#181825" crust = "#11111b" + +[palettes.gruvbox_dark] +color_fg0 = '#fbf1c7' +color_bg1 = '#3c3836' +color_bg3 = '#665c54' +color_blue = '#458588' +color_aqua = '#689d6a' +color_green = '#98971a' +color_orange = '#d65d0e' +color_purple = '#b16286' +color_red = '#cc241d' +color_yellow = '#d79921'