Update liquidprompt

This commit is contained in:
2025-02-09 19:43:24 +01:00
parent 10102e86eb
commit 5020eb46ee
2 changed files with 8 additions and 1 deletions

View File

@ -7,12 +7,17 @@ if ! command -v git &> /dev/null; then
exit 1
fi
if [[ -z "${LIQUIDPROMT_VERSION}" ]]; then
echo >&2 'error: LIQUIDPROMT_VERSION env. variable must be set to a non-empty value'
exit 1
fi
cd /usr/share
# Remove liquidprompt if exists
rm -rf liquidprompt
git clone "https://github.com/nojhan/liquidprompt.git" -b v_1.11
git clone "https://github.com/nojhan/liquidprompt.git" --depth 1 -b "${LIQUIDPROMT_VERSION}" liquidprompt
cat << EOF >> /root/.bashrc