diff --git a/src/smarttools/cli.py b/src/smarttools/cli.py index 41d0086..e3450e6 100644 --- a/src/smarttools/cli.py +++ b/src/smarttools/cli.py @@ -491,23 +491,21 @@ def cmd_providers(args): if new_paths: os.environ["PATH"] = ":".join(new_paths) + ":" + current_path - print() - print(f"Added to PATH (for this session): {', '.join(new_paths)}") - print() - print("To use in your shell, run one of:") - print(" source ~/.bashrc") - print(" # or start a new shell") print() print("Installation completed!") print() + print("IMPORTANT: Refresh your shell PATH before continuing:") + print(" source ~/.bashrc") + print() print(f"Next steps:") - print(f" 1. {info['setup']}") + print(f" 1. source ~/.bashrc (required!)") + print(f" 2. {info['setup']}") if info.get('post_install_note'): - print(f" 2. {info['post_install_note']}") - print(f" 3. Test with: smarttools providers test {selected}") + print(f" 3. {info['post_install_note']}") + print(f" 4. Test with: smarttools providers test {selected}") else: - print(f" 2. Test with: smarttools providers test {info['variants'][0] if info['variants'] else selected}") + print(f" 3. Test with: smarttools providers test {info['variants'][0] if info['variants'] else selected}") else: print() print(f"Installation failed (exit code {result.returncode})")