diff --git a/dot_bashrc.d/docker.bashrc.tmpl b/dot_bashrc.d/docker.bashrc.tmpl index 51f918d..89a5034 100644 --- a/dot_bashrc.d/docker.bashrc.tmpl +++ b/dot_bashrc.d/docker.bashrc.tmpl @@ -1,5 +1,5 @@ # docker -if docker tig 2>/dev/null; then +if hash docker 2>/dev/null; then export DOCKER_COMPOSE_BIN='{{ .docker_compose_command }}' docker-compose () { diff --git a/dot_bashrc.tmpl b/dot_bashrc.tmpl index 8a58c11..391eac5 100644 --- a/dot_bashrc.tmpl +++ b/dot_bashrc.tmpl @@ -134,6 +134,7 @@ if hash nix-env 2>/dev/null; then fi alias cdd='cd {{ .deploydir }}' +export cdd={{ .deploydir }} # --------------------------------------------------------------------------- # COMPLETIONS