fish: colorings

This commit is contained in:
Daniel Lundin 2025-01-03 12:48:33 +01:00
parent afa495919c
commit 7954844ff6
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ set fish_emoji_width 2
# Colors
set fish_color_command --bold
set fish_color_comment --italics --dim
set fish_color_autosuggestion --italics --bold red
set fish_color_autosuggestion --italics --bold --dim
set fish_color_cancel
set fish_color_command --bold
set fish_color_comment --italics --dim

View file

@ -107,7 +107,7 @@
fish_prompt.body = ''
echo -e "\033[s\033[$LINES;1H\033[1;2;38;5;238m$(string pad -c '' -w $COLUMNS (fish_jj_prompt || fish_vcs_prompt))\033[0m\033[u"
string join "" -- (set_color --italics) (prompt_hostname) ':' (prompt_pwd --full-length-dirs=4) (set_color --bold) ' ' (set_color normal)
string join "" -- (set_color --dim) (prompt_hostname) ':' (prompt_pwd --full-length-dirs=4) (set_color --bold normal) ' ' (set_color normal)
'';
transient_prompt_func.body = ''