mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
fix: add reminder for users to update PATH after installation
This commit is contained in:
parent
f023b42c89
commit
5344232706
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue