7 lines
223 B
Fish
7 lines
223 B
Fish
function fish_right_prompt -d "Write out the right prompt"
|
|
if set -q CONTAINER_ID
|
|
set distrobox_prefix " $(string replace -r -a '\b([\w])' '\U$0' "$CONTAINER_ID") "
|
|
end
|
|
echo -n -s $distrobox_prefix
|
|
end
|