summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-09-28 08:29:00 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-09-28 08:29:00 +0200
commit15175c82eeabec62a022690c140d29f65504d41a (patch)
tree42cdcfd61cddc304fced81bd4bdb7f7fc064a8be /etc/functions
parente3a0d4cd667f9d0242bd6d762cf05a649770f140 (diff)
invert-colors: wip
Diffstat (limited to 'etc/functions')
-rw-r--r--etc/functions/invert-colours15
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/functions/invert-colours b/etc/functions/invert-colours
index cf2a909..625b931 100644
--- a/etc/functions/invert-colours
+++ b/etc/functions/invert-colours
@@ -1,5 +1,10 @@
-if [[ ${PS1} == '%F{black}'* ]] {
- PS1=${${${PS1//\%K/%F}//white/default}#\%K\{black\}}
-} else {
- PS1='%F{black}'${${PS1//\%F/%K}//default/white}
-}
+#if [[ ${PS1} == '%F{black}'* ]] {
+# PS1=${${${PS1//\%K/%F}//white/default}#\%K\{black\}}
+#} else {
+# PS1='%F{black}'${${PS1//\%F/%K}//default/white}
+#}
+
+printf '\033]10;black\007'
+printf '\033]11;white\007'
+unset LS_COLORS
+zstyle ':completion:*' list-colors ''