pff: afficher la version du projet
This commit is contained in:
parent
777bb1fc68
commit
a4e758ec5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue