pff: afficher la version du projet

This commit is contained in:
Jephté Clain 2018-04-17 17:01:52 +04:00
parent 777bb1fc68
commit a4e758ec5d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ if [ -n "$UTOOLS_AUTO" ]; then
if [ -z "$pff" -a -d "$p/pff" -a -f "$p/.pff.conf" ]; then
flag=pff
if [ -L "$p/pff/.Current" ]; then
flag="$flag:$(readlink "$p/pff/.Current")"
flag="$flag$(source "$p/.pff.conf" 2>/dev/null; echo "${VERSION:+:$VERSION}"):$(readlink "$p/pff/.Current")"
fi
PS1="${PS1:+$PS1,}$flag"
pff=1