From 23fb426dea37e4732b76a9146a1c952048334f6f Mon Sep 17 00:00:00 2001 From: ryanmac Date: Wed, 23 Jul 2025 15:54:08 -0500 Subject: [PATCH] Fix color output in terminal by using echo -e for ANSI codes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed issue where color escape sequences were being displayed literally instead of being interpreted as colors. The problem was using regular 'echo' instead of 'echo -e' for strings containing color variables. Changes: - Fixed Conductor app setup instructions display - Fixed quick start commands color output - All color variables now properly display with colors instead of raw ANSI codes Fixes the issue where users saw: \033[0;32mopen -a Conductor\033[0m Instead of properly colored text. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- conductor-init.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/conductor-init.sh b/conductor-init.sh index 03fd0b9..544dfdd 100644 --- a/conductor-init.sh +++ b/conductor-init.sh @@ -392,15 +392,15 @@ case "$ENV_CHOICE" in echo "📋 Next Steps:" echo "" echo "1. Open Conductor app:" - echo " ${GREEN}open -a Conductor${NC}" + echo -e " ${GREEN}open -a Conductor${NC}" echo "" echo "2. Add this project as a workspace:" - echo " • In Conductor: ${YELLOW}File → Add Workspace${NC}" - echo " • Select directory: ${GREEN}$(pwd)${NC}" + echo -e " • In Conductor: ${YELLOW}File → Add Workspace${NC}" + echo -e " • Select directory: ${GREEN}$(pwd)${NC}" echo "" echo "3. Start working with this prompt:" echo "" - echo " ${YELLOW}\"Check available tasks and start working on the highest priority one.\"${NC}" + echo -e " ${YELLOW}\"Check available tasks and start working on the highest priority one.\"${NC}" echo "" echo "💡 Pro Tips:" echo " • Conductor will handle task claiming and worktree setup automatically" @@ -454,7 +454,7 @@ case "$ENV_CHOICE" in else echo "" echo "📋 To start an agent later:" - echo " ${GREEN}bash .conductor/scripts/bootstrap.sh dev${NC}" + echo -e " ${GREEN}bash .conductor/scripts/bootstrap.sh dev${NC}" fi ;; @@ -482,13 +482,13 @@ if [ "$ENV_CHOICE" != "1" ]; then echo " ✅ Specialized roles: ${CONFIGURED_ROLES}" echo " ✅ Demo tasks ready to claim" echo "" - echo "${YELLOW}Quick Start Commands:${NC}" - echo " 📋 View tasks: ${GREEN}cat .conductor/workflow-state.json | jq '.available_tasks'${NC}" - echo " 🤖 Start agent: ${GREEN}bash .conductor/scripts/bootstrap.sh dev${NC}" - echo " 📝 Create task: ${GREEN}gh issue create -l 'conductor:task'${NC}" - echo " 🔧 Adjust config: ${GREEN}$EDITOR .conductor/config.yaml${NC}" + echo -e "${YELLOW}Quick Start Commands:${NC}" + echo -e " 📋 View tasks: ${GREEN}cat .conductor/workflow-state.json | jq '.available_tasks'${NC}" + echo -e " 🤖 Start agent: ${GREEN}bash .conductor/scripts/bootstrap.sh dev${NC}" + echo -e " 📝 Create task: ${GREEN}gh issue create -l 'conductor:task'${NC}" + echo -e " 🔧 Adjust config: ${GREEN}$EDITOR .conductor/config.yaml${NC}" echo "" - echo "${YELLOW}Your first PR will automatically get AI code reviews!${NC}" + echo -e "${YELLOW}Your first PR will automatically get AI code reviews!${NC}" echo "" echo "📚 Documentation: https://github.com/ryanmac/code-conductor" echo "🐛 Report issues: https://github.com/ryanmac/code-conductor/issues"