meow meow meow meow
This commit is contained in:
parent
710b4ab87e
commit
88401c01be
11 changed files with 131 additions and 158 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue