chore: update .rgignore to include necessary files for project configuration

chore: add loading of OpenAI Secrets in .zshrc if setup.sh file exists
This commit is contained in:
David Ibia
2025-03-08 16:19:28 +01:00
parent b8708cc3c5
commit e3cfaa6fb9
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
!.config/openai/setup.sh
!.opencommit
!.env

6
.zshrc
View File

@@ -269,6 +269,12 @@ export PATH=$HOME/flutter/bin:$PATH
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
# Load OpenAI Secrets if it exists
# .config/openai/setup.sh
if [ -f "$HOME/.config/openai/setup.sh" ]; then
source "$HOME/.config/openai/setup.sh"
fi
PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH; PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;