more funcs

This commit is contained in:
Jason Swank
2025-10-24 15:27:01 +00:00
parent a474758772
commit fc1cddac13
3 changed files with 21 additions and 6 deletions

View File

@@ -88,10 +88,10 @@ if [ -e $HOME/cfa-work/.zshrc ]; then
. $HOME/cfa-work/.zshrc
fi
for env in $HOME/.okta/.env $HOME/.config/aws/.env $HOME/.config/github/.env $HOME/.config/aichat/.env; do
if [ -r $env ]; then
export $(xargs < $env)
fi
for env in $HOME/.config/*/.env; do
if [ -r "$env" ]; then
export $(xargs < "$env")
fi
done
# command line completion
@@ -131,5 +131,3 @@ zstyle :compinstall filename '~/.zshrc'
#zstyle :compinstall filename '~/.zshrc'
#compinit
complete -o nospace -C /home/cli/dotfiles/zsh/.local/bin/tofu tofu