From 73abe3f1d9c85ce968e18bd71fbbf9f7eb074381 Mon Sep 17 00:00:00 2001 From: Patrick Frei <frei@phys.ethz.ch> Date: Thu, 6 Oct 2022 14:43:32 +0200 Subject: [PATCH] fixed envrcd for profile frei --- profile/frei/envrcd.d/00-config | 2 +- profile/frei/envrcd.d/10-envvars | 14 +++++++------- profile/frei/envrcd.d/20-aliases | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/profile/frei/envrcd.d/00-config b/profile/frei/envrcd.d/00-config index 999e2db..7fa6ca4 100644 --- a/profile/frei/envrcd.d/00-config +++ b/profile/frei/envrcd.d/00-config @@ -4,4 +4,4 @@ source_profile_if_exists "default" # set the path to this profile -export ENVRCD_PROFILE_PATH="${ENVRCD_PATH}/profile/globi" +export ENVRCD_PROFILE_PATH="${ENVRCD_PATH}/profile/frei" diff --git a/profile/frei/envrcd.d/10-envvars b/profile/frei/envrcd.d/10-envvars index 8283c73..1c0dbfc 100644 --- a/profile/frei/envrcd.d/10-envvars +++ b/profile/frei/envrcd.d/10-envvars @@ -4,17 +4,17 @@ export PATH=~/bin:${ENVRCD_PROFILE_PATH}/bin:${PATH} # --- git --- -if [ "${ENVRCD_USER}" == "globi" ]; then - export GIT_AUTHOR_NAME='Christian Ringger' - export GIT_AUTHOR_EMAIL='ringger@phys.ethz.ch' +if [ "${ENVRCD_USER}" == "frei" ]; then + export GIT_AUTHOR_NAME='Patrick Frei' + export GIT_AUTHOR_EMAIL='frei@phys.ethz.ch' export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME}" export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}" fi # --- debian packaging --- -if [ "${ENVRCD_USER}" == "globi" ]; then - export DEBEMAIL="ringger@phys.ethz.ch" - export DEBFULLNAME="Christian Ringger" +if [ "${ENVRCD_USER}" == "frei" ]; then + export DEBEMAIL="frei@phys.ethz.ch" + export DEBFULLNAME="Patrick Frei" fi # ignore these commands for history @@ -22,7 +22,7 @@ export HISTIGNORE="" # --- ansible --- -#if [ "${ENVRCD_USER}" == "globi" ] && [ "${USER}" == "chringge" ]; then +#if [ "${ENVRCD_USER}" == "frei" ] && [ "${USER}" == "frei" ]; then # #export ANSIBLE_CONFIG="~/.ansible.cfg" # export ANSIBLE_STRATEGY_PLUGINS="~/.ansible/mitogen/ansible_mitogen/plugins/strategy" # export ANSIBLE_STRATEGY="mitogen_linear" diff --git a/profile/frei/envrcd.d/20-aliases b/profile/frei/envrcd.d/20-aliases index b90b1d4..1e46997 100644 --- a/profile/frei/envrcd.d/20-aliases +++ b/profile/frei/envrcd.d/20-aliases @@ -1,10 +1,10 @@ #!/bin/bash -alias kc='eval $(keychain --nogui --eval --agents ssh,gpg --quick id_rsa 99EEA27988963CFE)' +alias kc='eval $(keychain --nogui --eval --agents ssh,gpg --quick id_rsa 120465DFCAFEF89D)' alias kcs='eval $(keychain --nogui --eval --agents ssh --quick id_rsa)' unalias git -if [ "${ENVRCD_USER}" != "globi" ] || [ "${HOSTNAME}" != "portus" ] || [ "${USER}" != "chringge" ]; then +if [ "${ENVRCD_USER}" != "frei" ] || [ "${HOSTNAME}" != "reparong" ] || [ "${USER}" != "frei" ]; then alias git="HOME=${ENVRCD_PROFILE_PATH} git" -fi \ No newline at end of file +fi -- GitLab