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.
1 parent 1fe37f3 commit c9a537cCopy full SHA for c9a537c
1 file changed
internal/colima.zsh
@@ -27,14 +27,14 @@ function container::internal::container::load {
27
check_command jq || return 1
28
check_command colima || return 1
29
30
- local status
31
- if ! status=$(colima status --json 2>/dev/null | jq -r '.status'); then
+ local colima_status
+ if ! colima_status=$(colima status --json 2>/dev/null | jq -r '.status'); then
32
echo "⚠️ Could not get Colima status. Starting Colima..."
33
colima start
34
return
35
fi
36
37
- if [[ "$status" != "Running" ]]; then
+ if [[ "$colima_status" != "Running" ]]; then
38
echo "🚀 Colima is not running. Starting Colima..."
39
40
0 commit comments