From 15175c82eeabec62a022690c140d29f65504d41a Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 28 Sep 2023 08:29:00 +0200 Subject: invert-colors: wip --- etc/functions/invert-colours | 15 ++++++++++----- 1 file 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 '' -- cgit v1.2.3