From 191bccfb5a08b29593f7a363f6fd98692476d68e Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Tue, 7 Mar 2023 15:26:08 +0100 Subject: [PATCH] Add separate env file --- .env | 2 ++ .zshrc | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..0f1c4d6 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +export SCENARI_SSH_USER='qduchemin' +export SCENARI_SSH_KEY_PATH="~/.ssh/id_gpg.pub" diff --git a/.zshrc b/.zshrc index 130c492..fbd0284 100644 --- a/.zshrc +++ b/.zshrc @@ -85,3 +85,7 @@ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) if [ -f ~/.aliases ]; then . ~/.aliases fi + +if [ -f ~/.env ]; then + . ~/.env +fi