adding tricks to solve vibe problems about color and window repaint
This commit is contained in:
+6
-4
@@ -4,10 +4,6 @@
|
||||
#PS1="%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)"
|
||||
#PS1='%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%test%{$reset_color%} $(git_prompt_info)'
|
||||
|
||||
# launch vlc or mpv in flatpax sandboxed
|
||||
mpv-sandbox() { flatpak run io.mpv.Mpv "$@"; }
|
||||
vlc-sandbox() { flatpak run org.videolan.VLC "$@"; }
|
||||
|
||||
|
||||
# ----------------------------------------------------
|
||||
# default configs
|
||||
@@ -221,5 +217,11 @@ export PATH=$JAVA_HOME/bin:$PATH
|
||||
# to print the date for the history command
|
||||
setopt EXTENDED_HISTORY
|
||||
|
||||
# screen doesn't relay 24-bit color but passes COLORTERM through, so apps
|
||||
# wrongly emit truecolor (blinking text, see mistral-vibe#1248).
|
||||
# $STY is set only inside screen windows: this targets screen alone.
|
||||
# NOTE: remove if a future screen (>= 5.x) relays truecolor.
|
||||
if [ -n "$STY" ]; then unset COLORTERM; fi
|
||||
|
||||
|
||||
. "$HOME/.local/bin/env"
|
||||
|
||||
Reference in New Issue
Block a user