about summary refs log tree commit diff
path: root/.config/zsh
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-11-30 12:16:25 -0600
committerStarfall <us@starfall.systems>2022-11-30 12:16:25 -0600
commit65798f0e57fae5a38e02cbc51a4fbbffd1d55a0d (patch)
tree9180d7a1589691150a006c80e943db6648692cc0 /.config/zsh
parent9d3ecf9849305839740938f699f040027910ffa9 (diff)
zsh: set linux virtual console colors
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc22
1 files changed, 22 insertions, 0 deletions
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 <https://github.com/chriskempson/tomorrow-theme>
+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