Fixed bash PS1 escaping (#2310)

This commit is contained in:
Steve Easley
2021-12-23 05:27:42 -05:00
committed by GitHub
parent 21215aa9d0
commit 132ca099e9
3 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# Changelog # Changelog
## 9.2.2
- Fix escape codes in color bash prompt
## 9.2.1 ## 9.2.1
- Upgrade Home Assistant CLI to 4.14.0 - Upgrade Home Assistant CLI to 4.14.0

View File

@@ -1,4 +1,4 @@
version: 9.2.1 version: 9.2.2
slug: ssh slug: ssh
name: Terminal & SSH name: Terminal & SSH
description: Allow logging in remotely to Home Assistant using SSH description: Allow logging in remotely to Home Assistant using SSH

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export PS1="\e[0;32m[\h \W]\$ \e[m" export PS1="\[\e[0;32m\][\h \W]\$ \[\e[m\]"
export SUPERVISOR_TOKEN={{ .supervisor_token }} export SUPERVISOR_TOKEN={{ .supervisor_token }}
ha banner ha banner