From 61931d07b2bead19641d570c4dea64af6d99f5a4 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:31:54 +0700 Subject: [PATCH] fix extra line at fish init #210 --- .config/ags/scripts/templates/terminal/sequences.material | 2 +- .config/ags/scripts/templates/terminal/sequences.term | 2 +- .config/fish/config.fish | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.config/ags/scripts/templates/terminal/sequences.material b/.config/ags/scripts/templates/terminal/sequences.material index 25429e37b..907eb9f22 100644 --- a/.config/ags/scripts/templates/terminal/sequences.material +++ b/.config/ags/scripts/templates/terminal/sequences.material @@ -1 +1 @@ -]4;0;#$background #\]4;1;#$error #\]4;2;#$inversePrimary #\]4;3;#$onPrimaryContainer #\]4;4;#$onPrimaryContainer #\]4;5;#$onSecondaryContainer #\]4;6;#$primary #\]4;7;#$onSurfaceVariant #\]4;8;#$background #\]4;9;#$error #\]4;10;#$inversePrimary #\]4;11;#$onPrimaryContainer #\]4;12;#$onPrimaryContainer #\]4;13;#$onSecondaryContainer #\]4;14;#$primary #\]4;15;#$onSurfaceVariant #\]10;#$onSurfaceVariant #\]11;#$background #\]12;#$onSurfaceVariant #\]13;#$onSurfaceVariant #\]17;#$onSurfaceVariant #\]19;#$background #\]4;232;#$background #\]4;256;#$onSurfaceVariant #\]708;#$background #\ +]4;0;#$background #\]4;1;#$error #\]4;2;#$inversePrimary #\]4;3;#$onPrimaryContainer #\]4;4;#$onPrimaryContainer #\]4;5;#$onSecondaryContainer #\]4;6;#$primary #\]4;7;#$onSurfaceVariant #\]4;8;#$background #\]4;9;#$error #\]4;10;#$inversePrimary #\]4;11;#$onPrimaryContainer #\]4;12;#$onPrimaryContainer #\]4;13;#$onSecondaryContainer #\]4;14;#$primary #\]4;15;#$onSurfaceVariant #\]10;#$onSurfaceVariant #\]11;#$background #\]12;#$onSurfaceVariant #\]13;#$onSurfaceVariant #\]17;#$onSurfaceVariant #\]19;#$background #\]4;232;#$background #\]4;256;#$onSurfaceVariant #\]708;#$background #\ \ No newline at end of file diff --git a/.config/ags/scripts/templates/terminal/sequences.term b/.config/ags/scripts/templates/terminal/sequences.term index 784a75032..d7af58a14 100644 --- a/.config/ags/scripts/templates/terminal/sequences.term +++ b/.config/ags/scripts/templates/terminal/sequences.term @@ -1 +1 @@ -]4;0;#regular0\]4;1;#regular1\]4;2;#regular2\]4;3;#regular3\]4;4;#regular4\]4;5;#regular5\]4;6;#regular6\]4;7;#regular7\]4;8;#bright0\]4;9;#bright1\]4;10;#bright2\]4;11;#bright3\]4;12;#bright4\]4;13;#bright5\]4;14;#bright6\]4;15;#bright7\]10;#regular7\]11;#regular0\]12;#regular7\]13;#regular7\]17;#regular7\]19;#regular0\]4;232;#regular0\]4;256;#regular7\]708;#regular0\ +]4;0;#regular0\]4;1;#regular1\]4;2;#regular2\]4;3;#regular3\]4;4;#regular4\]4;5;#regular5\]4;6;#regular6\]4;7;#regular7\]4;8;#bright0\]4;9;#bright1\]4;10;#bright2\]4;11;#bright3\]4;12;#bright4\]4;13;#bright5\]4;14;#bright6\]4;15;#bright7\]10;#regular7\]11;#regular0\]12;#regular7\]13;#regular7\]17;#regular7\]19;#regular0\]4;232;#regular0\]4;256;#regular7\]708;#regular0\ \ No newline at end of file diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b8b0542e7..eba5db2f3 100755 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -13,7 +13,9 @@ if status is-interactive end starship init fish | source -cat ~/.cache/ags/user/colorschemes/sequences +if test -f ~/.cache/ags/user/colorschemes/sequences + cat ~/.cache/ags/user/colorschemes/sequences +end # function fish_prompt # set_color cyan; echo (pwd)