mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 15:36:11 +01:00
13 lines
304 B
Fish
13 lines
304 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
|