meow meow meow meow

This commit is contained in:
Schrottkatze 2025-08-26 20:22:59 +02:00
parent 710b4ab87e
commit 88401c01be
Signed by: schrottkatze
SSH key fingerprint: SHA256:/raZeWZ2RLThYkX/nq26frnmA4Bi3qRM/hijRmDBa10
11 changed files with 131 additions and 158 deletions

View file

@ -30,7 +30,7 @@ def create_right_prompt [] {
$env.PROMPT_COMMAND = {||
starship prompt --cmd-duration $env.CMD_DURATION_MS $'--status=($env.LAST_EXIT_CODE)'
| lines
| filter { is-not-empty }
| where { is-not-empty }
| update 0 {|item|
let len = (term size | get columns) - ($item | ansi strip | str length --grapheme-clusters) - (create_right_prompt | ansi strip | str length --grapheme-clusters);
# $item | append (flag $TRANS "-" $len) | str join