We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd504a4 + 5af3623 commit 3c9eb1bCopy full SHA for 3c9eb1b
pkg/cidata/cidata.TEMPLATE.d/boot/08-shell-prompt.sh
@@ -1,7 +1,9 @@
1
#!/bin/sh
2
set -eux
3
4
-if [ "${LIMA_CIDATA_NAME}" = "default" ]; then
+# This script is only intended for the default.yaml image, which is based on Ubuntu LTS
5
+
6
+if [ "${LIMA_CIDATA_NAME}" = "default" ] && command -v patch >/dev/null 2>&1 && grep -q color_prompt "/home/${LIMA_CIDATA_USER}.linux/.bashrc"; then
7
8
! grep -q "^# Lima PS1" "/home/${LIMA_CIDATA_USER}.linux/.bashrc" || exit 0
9
0 commit comments