Change setup
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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 ###'
|
||||||
|
if [ "${SHELL##*/}" != "zsh" ]; then
|
||||||
chsh -s /usr/bin/zsh
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user