mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-28 01:48:11 +03:00
* temporary dvctr * start of work * fix: timeouts in windows * fish? * feat: better, working stuff * refactor: rename database-seeds to seeds/ * better * fdsaf * feat: don't let our container get owned by root * fix: better user handling * feat: falling asleep at my desk i yield to you what i have done * feat: autoadminify * docs: denote trickshot * feat: open in browser on launch * better seeds workings... * fix: dont kill shell * docs: mention dev/debs * fix: whoops * fix: make seeds load within the century * feat: rest of the containerisation * feat: new alias * style: fix linter errors * fix: bad call * fix: better justfile
23 lines
786 B
Fish
23 lines
786 B
Fish
function _tide_print_item -a item
|
|
v=tide_"$item"_bg_color set -f item_bg_color $$v
|
|
|
|
if set -e add_prefix
|
|
set_color $item_bg_color -b normal
|
|
v=tide_"$_tide_side"_prompt_prefix echo -ns $$v
|
|
else if test "$item_bg_color" = "$prev_bg_color"
|
|
v=tide_"$_tide_side"_prompt_separator_same_color echo -ns $_tide_color_separator_same_color$$v
|
|
else if test $_tide_side = left
|
|
set_color $prev_bg_color -b $item_bg_color
|
|
echo -ns $tide_left_prompt_separator_diff_color
|
|
else
|
|
set_color $item_bg_color -b $prev_bg_color
|
|
echo -ns $tide_right_prompt_separator_diff_color
|
|
end
|
|
|
|
v=tide_"$item"_color set_color $$v -b $item_bg_color
|
|
|
|
echo -ns $_tide_pad $argv[2..] $_tide_pad
|
|
|
|
set -g prev_bg_color $item_bg_color
|
|
end
|