fixed docker check

This commit is contained in:
2024-11-17 06:34:14 -06:00
parent 849a624ec6
commit 0610c0f19a

View File

@@ -177,7 +177,7 @@ echo "alias hh='hstr'" >> /etc/bash.bashrc
echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc
# docker aliases
if [[ -f /etc/docker/daemon.json ]]
if [[ -d /etc/docker ]]
then
echo "alias dc='docker compose'" >> /etc/bash.bashrc
echo "alias dcup='docker compose up -d'" >> /etc/bash.bashrc