bash/ps1/real

This commit is contained in:
Marc Beninca 2023-08-20 18:39:36 +02:00
parent 0b7e362582
commit ffb301e21b

View file

@ -21,13 +21,12 @@ local view="\
view="${view} –\e[0;35m${git}\e[0m"
fi
fi
view="${view}
"
if [ "${path}" != "${real}" ] ; then
view="${view}\e[0;36m${real}\e[0m
"
view="${view}
\e[0;36m${real}\e[0m"
fi
view="${view}\e[0;36m${path}\e[0m
view="${view}
\e[0;36m${path}\e[0m
${PS2}"
echo -e "${view}"
}