From 5344232706857f5516a6692eb37461a44d4485d6 Mon Sep 17 00:00:00 2001 From: Andrii Myronenko Date: Sun, 2 Nov 2025 02:02:21 +0200 Subject: [PATCH] fix: add reminder for users to update PATH after installation --- scripts/install_update_linux.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/install_update_linux.sh b/scripts/install_update_linux.sh index 33003c02..8dea157d 100755 --- a/scripts/install_update_linux.sh +++ b/scripts/install_update_linux.sh @@ -22,3 +22,14 @@ curl -L -o lazydocker.tar.gz $GITHUB_URL tar xzvf lazydocker.tar.gz lazydocker install -Dm 755 lazydocker -t "$DIR" rm lazydocker lazydocker.tar.gz + +# remind user to add to PATH if necessary +if [[ ":$PATH:" != *":$DIR:"* ]]; then + echo + echo "To finish installing lazydocker, please ensure $DIR is in your PATH." + echo + echo "Consider running:" + echo " echo 'export PATH=\$PATH:$DIR' >> ~/.bashrc" + echo " source ~/.bashrc" + echo "(If you are using a shell other than bash, modify the appropriate configuration file accordingly.)" +fi