Change setup

This commit is contained in:
2026-03-21 11:50:29 -03:00
parent b007381ce8
commit 788ee8cded
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
services: services:
zigbee2mqtt: zigbee2mqtt:
image: "koenkk/zigbee2mqtt:stable" image: "koenkk/zigbee2mqtt:latest"
container_name: Zigbee2MQTT container_name: Zigbee2MQTT
privileged: true privileged: true
group_add: group_add:

View File

@@ -17,7 +17,9 @@ sudo docker network create homelogic 2>/dev/null || true
# Setup ZSH # Setup ZSH
echo '### Setting up ZSH ###' echo '### Setting up ZSH ###'
chsh -s /usr/bin/zsh if [ "${SHELL##*/}" != "zsh" ]; then
chsh -s /usr/bin/zsh
fi
sed -i '/# --- HOMELOGIC ALIASES START ---/,/# --- HOMELOGIC ALIASES END ---/d' ~/.zshrc 2>/dev/null || true sed -i '/# --- HOMELOGIC ALIASES START ---/,/# --- HOMELOGIC ALIASES END ---/d' ~/.zshrc 2>/dev/null || true
sed -i '/# Custom aliases/,/alias restart=/d' ~/.zshrc 2>/dev/null || true sed -i '/# Custom aliases/,/alias restart=/d' ~/.zshrc 2>/dev/null || true