dotfiles/fish/functions/_pure_print_prompt.fish
Julius Klotz e1f49b8878 initial commit
2025-02-21 11:32:33 +01:00

14 lines
307 B
Fish

function _pure_print_prompt \
--description 'Concatenate parts single prompt string' \
set --local prompt
for prompt_part in $argv
if test (_pure_string_width $prompt_part) -gt 0
set --append prompt "$prompt_part"
end
end
echo (string trim -l $prompt)
end