summaryrefslogtreecommitdiff
path: root/etc/functions/invert-colours
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/invert-colours')
-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 ''