mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 12:37:46 +00:00
fix: correct ANSI escape sequence in boot branch message (#1689)
The branch message had an incomplete ANSI escape sequence that was cutting off the first character and breaking the display formatting. Before: \eUsing branch: master (displayed as 'sing branch: master') After: \e[32mUsing branch: master\e[0m (displayed as 'Using branch: master' in green) This fix ensures the complete message is displayed with proper green coloring.
This commit is contained in:
committed by
GitHub
parent
facae82630
commit
2e4c9d0de8
2
boot.sh
2
boot.sh
@@ -29,7 +29,7 @@ git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/
|
|||||||
# Use custom branch if instructed, otherwise default to master
|
# Use custom branch if instructed, otherwise default to master
|
||||||
OMARCHY_REF="${OMARCHY_REF:-master}"
|
OMARCHY_REF="${OMARCHY_REF:-master}"
|
||||||
if [[ $OMARCHY_REF != "master" ]]; then
|
if [[ $OMARCHY_REF != "master" ]]; then
|
||||||
echo -e "\eUsing branch: $OMARCHY_REF"
|
echo -e "\e[32mUsing branch: $OMARCHY_REF\e[0m"
|
||||||
cd ~/.local/share/omarchy
|
cd ~/.local/share/omarchy
|
||||||
git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}"
|
git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}"
|
||||||
cd -
|
cd -
|
||||||
|
|||||||
Reference in New Issue
Block a user