File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ if [[ ":$PATH:" != *":$INSTALL_DIR:"* ]]; then
171171 add_to_path " $config_file " " export PATH=$INSTALL_DIR :\$ PATH"
172172 ;;
173173 * )
174- export PATH=$INSTALL_DIR :$PATH
175174 print_message warning " Manually add the directory to $config_file (or similar):"
176175 print_message info " export PATH=$INSTALL_DIR :\$ PATH"
177176 ;;
181180if [ -n " ${GITHUB_ACTIONS-} " ] && [ " ${GITHUB_ACTIONS} " == " true" ]; then
182181 echo " $INSTALL_DIR " >> $GITHUB_PATH
183182 print_message info " Added $INSTALL_DIR to \$ GITHUB_PATH"
184- fi
183+ fi
184+
185+ # Final instructions for immediate usage
186+ print_message info " "
187+ print_message info " Installation completed successfully!"
188+ print_message info " "
189+ print_message info " To use ${ORANGE} feature-installer${GREEN} immediately, run one of the following:"
190+ print_message info " 1. ${YELLOW} source ~/.bashrc${GREEN} (or your shell's config file)"
191+ print_message info " 2. ${YELLOW} export PATH=$INSTALL_DIR :\$ PATH${GREEN} "
192+ print_message info " 3. ${YELLOW} $INSTALL_DIR /feature-installer${GREEN} (use full path)"
193+ print_message info " "
194+ print_message info " Or simply start a new terminal session."
You can’t perform that action at this time.
0 commit comments