Skip to content
Snippets Groups Projects
Commit 61d727a8 authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Use quotes and $HOME for PATH

parent e7bfaaa2
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
# --- path --- # --- path ---
export PATH=~/bin:${ENVRCD_PROFILE_PATH}/bin:${PATH} export PATH="${HOME}/bin:${ENVRCD_PROFILE_PATH}/bin:${PATH}"
# --- locale --- # --- locale ---
export LANGUAGE=en export LANGUAGE=en
......
#!/bin/bash #!/bin/bash
# --- path --- # --- path ---
export PATH=~/bin:${ENVRCD_PROFILE_PATH}/bin:${PATH} export PATH="${HOME}/bin:${ENVRCD_PROFILE_PATH}/bin:${PATH}"
# --- git --- # --- git ---
if [ "${ENVRCD_USER}" == "rda" ]; then if [ "${ENVRCD_USER}" == "rda" ]; then
...@@ -96,7 +96,7 @@ export BAT_THEME='DarkNeon' ...@@ -96,7 +96,7 @@ export BAT_THEME='DarkNeon'
# --- ansible --- # --- ansible ---
if [[ "${ENVRCD_USER}" == "rda" ]] && [[ "${USER}" == "maedersv" || "${USER}" == "rda" ]]; then if [[ "${ENVRCD_USER}" == "rda" ]] && [[ "${USER}" == "maedersv" || "${USER}" == "rda" ]]; then
#export ANSIBLE_CONFIG="~/.ansible.cfg" #export ANSIBLE_CONFIG="${HOME}/.ansible.cfg"
if [ -d "${HOME}/.cargo/env" ]; then if [ -d "${HOME}/.cargo/env" ]; then
export PATH="${HOME}/.cargo/env:${PATH}" export PATH="${HOME}/.cargo/env:${PATH}"
fi fi
...@@ -106,9 +106,9 @@ if [[ "${ENVRCD_USER}" == "rda" ]] && [[ "${USER}" == "maedersv" || "${USER}" == ...@@ -106,9 +106,9 @@ if [[ "${ENVRCD_USER}" == "rda" ]] && [[ "${USER}" == "maedersv" || "${USER}" ==
if [ -d "${HOME}/env/pyenv/bin" ]; then if [ -d "${HOME}/env/pyenv/bin" ]; then
export PATH="${HOME}/env/pyenv/bin:${PATH}" export PATH="${HOME}/env/pyenv/bin:${PATH}"
fi fi
export ANSIBLE_STRATEGY_PLUGINS="~/.ansible/mitogen/ansible_mitogen/plugins/strategy" export ANSIBLE_STRATEGY_PLUGINS="${HOME}/.ansible/mitogen/ansible_mitogen/plugins/strategy"
export ANSIBLE_STRATEGY="mitogen_linear" export ANSIBLE_STRATEGY="mitogen_linear"
export ANSIBLE_ISG_PHYS_PATH="~/git/ansible-isg-phys" export ANSIBLE_ISG_PHYS_PATH="${HOME}/git/ansible-isg-phys"
export ANSIBLE_VAULT_ID_MATCH=true export ANSIBLE_VAULT_ID_MATCH=true
export ANSIBLE_VAULT_IDENTITY_LIST="production@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/production,workstations@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/workstations,testing@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/testing" export ANSIBLE_VAULT_IDENTITY_LIST="production@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/production,workstations@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/workstations,testing@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/testing"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment