File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,19 +43,19 @@ get_latest_version() {
4343
4444# Function to print colored output
4545print_status() {
46- echo -e "\${BLUE}[INFO]\${NC} $1"
46+ echo "\${BLUE}[INFO]\${NC} $1" 1>&2
4747}
4848
4949print_success() {
50- echo -e "\${GREEN}[SUCCESS]\${NC} $1"
50+ echo "\${GREEN}[SUCCESS]\${NC} $1" 1>&2
5151}
5252
5353print_error() {
54- echo -e "\${RED}[ERROR]\${NC} $1"
54+ echo "\${RED}[ERROR]\${NC} $1" 1>&2
5555}
5656
5757print_warning() {
58- echo -e "\${YELLOW}[WARNING]\${NC} $1"
58+ echo "\${YELLOW}[WARNING]\${NC} $1" 1>&2
5959}
6060
6161# Function to detect OS and architecture
@@ -163,7 +163,7 @@ install_andromeda() {
163163 if [[ ":$PATH:" != *":$INSTALL_DIR:"* ]]; then
164164 print_warning "Install directory '$INSTALL_DIR' is not in your PATH."
165165 print_warning "Add the following line to your shell profile (.bashrc, .zshrc, etc.):"
166- echo -e "\${YELLOW}export PATH=\\"\\$PATH:$INSTALL_DIR\\"\${NC}"
166+ echo "\${YELLOW}export PATH=\\"\\$PATH:$INSTALL_DIR\\"\${NC}" 1>&2
167167 echo ""
168168 print_warning "Or run: echo 'export PATH=\\"\\$PATH:$INSTALL_DIR\\"' >> ~/.bashrc"
169169 print_warning "Then restart your terminal or run: source ~/.bashrc"
You can’t perform that action at this time.
0 commit comments