From 65564aeaeca7b68225cfcdb6da0a9e1926089cf2 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Tue, 25 Jun 2019 19:13:32 -0400 Subject: [PATCH] fish: use nicer colors --- applications/fish | 2 +- scripts/fish/prompt.fish | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/applications/fish b/applications/fish index 9b0b1b8..29cac17 100644 --- a/applications/fish +++ b/applications/fish @@ -9,9 +9,9 @@ function rebuild $HOME/src/scripts/rebuild.rkt $argv end +source ~/src/scripts/fish/cheat.fish source ~/src/scripts/fish/megadl.fish source ~/src/scripts/fish/prompt.fish -source ~/src/scripts/fish/cheat.fish source ~/src/scripts/fish/ql.fish ## EOF diff --git a/scripts/fish/prompt.fish b/scripts/fish/prompt.fish index fec3d2b..78a7a87 100644 --- a/scripts/fish/prompt.fish +++ b/scripts/fish/prompt.fish @@ -1,14 +1,18 @@ function fish_prompt - echo (set_color purple)"$hostname% " + echo (set_color c792ea)"$hostname% "(set_color normal) end function fish_right_prompt - echo (set_color green)(pwd) + echo (set_color c3e88d)(pwd)(set_color normal) end function fish_greeting + set_color c50ed2 + echo "Word of the moment: "(shuf -n1 /usr/share/dict/words) | awk -f ~/src/scripts/text/mid.awk col=$COLUMNS + + set_color normal end ## EOF