From 64a1ecda6e5ff932d7d8d4f3c271f24bab7ea8b3 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 8 Feb 2023 18:53:50 +0100 Subject: [PATCH] litex_setup: explain how to update permanently PATH env variable (#1589) --- litex_setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/litex_setup.py b/litex_setup.py index af5a82297..5956d0668 100755 --- a/litex_setup.py +++ b/litex_setup.py @@ -289,7 +289,8 @@ def litex_setup_install_repos(config="standard", user_mode=False): if user_mode: if ".local/bin" not in os.environ.get("PATH", ""): print_status("Make sure that ~/.local/bin is in your PATH") - print_status("export PATH=$PATH:~/.local/bin") + print_status("export PATH=$PATH:~/.local/bin # temporary (limited to the current terminal)") + print_status("or add the previous line into your ~/.bashrc to permanently update PATH") # Git repositories freeze -------------------------------------------------------------------------- @@ -477,4 +478,4 @@ def main(): if __name__ == "__main__": main() - \ No newline at end of file +