From 65798f0e57fae5a38e02cbc51a4fbbffd1d55a0d Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 30 Nov 2022 12:16:25 -0600 Subject: zsh: set linux virtual console colors --- .config/zsh/.zshrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to '.config') diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 18991dd..09ae41f 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,6 +1,28 @@ # set ZPROF to measure startup time [[ -v ZPROF ]] && zmodload zsh/zprof +# colors in virtual console +# Tomorrow's Stars theme, lightly adapted from Tomorrow +if [ "$TERM" = 'linux' ]; then + echo -ne "\e]P01d1f21" + echo -ne "\e]P1d54e53" + echo -ne "\e]P2b9ca4a" + echo -ne "\e]P3e7ba47" + echo -ne "\e]P47aa6da" + echo -ne "\e]P5c397d8" + echo -ne "\e]P670c0b1" + echo -ne "\e]P7969896" + echo -ne "\e]P8373b41" + echo -ne "\e]P9cc6666" + echo -ne "\e]PAb5bd68" + echo -ne "\e]PBf0c674" + echo -ne "\e]PC81a2be" + echo -ne "\e]PDb294bb" + echo -ne "\e]PE8abeb7" + echo -ne "\e]PFc5c8c6" + clear +fi + # plugin - fzf # arch puts these here if [[ -a /usr/share/fzf/key-bindings.zsh ]] && [[ -a /usr/share/fzf/completion.zsh ]]; then -- cgit