Fix fish startup code

This commit is contained in:
2026-07-11 18:04:48 +01:00
parent 0db4036c29
commit ebf3e773c6
+2 -4
View File
@@ -1,13 +1,11 @@
if test (tty) = /dev/tty1; and test -z "$DISPLAY"; and test -z "$WAYLAND_DISPLAY" if test (tty) = /dev/tty1; and type -q startx; and test -z "$DISPLAY"; and test -z "$WAYLAND_DISPLAY"
exec startx exec startx
end end
if test "$KITTY_STR" = "1" if test "$KITTY_STR" = "1"; and not set -q _FASTFETCH_RUN
if not set -q _FASTFETCH_RUN
set -gx _FASTFETCH_RUN 1 set -gx _FASTFETCH_RUN 1
fastfetch fastfetch
end end
end
function postexec_test --on-event fish_postexec function postexec_test --on-event fish_postexec
echo echo