Skip to content
Snippets Groups Projects
Commit 73abe3f1 authored by Patrick Frei's avatar Patrick Frei
Browse files

fixed envrcd for profile frei

parent 6b3b3a7b
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......@@ -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"
......
#!/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
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