commit 6a7ed457db604f0682f22ae43c15e6c0b23ecf1c
parent 236b521a8a32e5bc79f70e6bee1883118c3f2f6f
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sun, 4 Jun 2023 18:18:20 +0200
fix: auto completion
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/consul.sh b/consul.sh
@@ -91,7 +91,7 @@ systemctl enable consul
# Configure .bashrc
cat << EOF >> .bashrc
-complete -C /usr/local/bin/consul consul
+complete -C /usr/bin/consul consul
export CONSUL_HTTP_ADDR="https://127.0.0.1:8501"
export CONSUL_CACERT="/opt/consul/tls/consul-agent-ca.pem"
diff --git a/nomad.sh b/nomad.sh
@@ -130,7 +130,7 @@ systemctl enable nomad
# Configure .bashrc
cat << EOF >> .bashrc
-complete -C /usr/local/bin/nomad nomad
+complete -C /usr/bin/nomad nomad
EOF
# Mount NFS for hostpath volumes
diff --git a/vault.sh b/vault.sh
@@ -102,7 +102,7 @@ systemctl enable vault
# Configure .bashrc
cat << EOF >> "/home/${USERNAME}/.bashrc"
-complete -C /usr/local/bin/vault vault
+complete -C /usr/bin/vault vault
export VAULT_ADDR="https://$HOSTNAME:8200"
export VAULT_SKIP_VERIFY=true
EOF