.config/vars: source instead of execute

This commit is contained in:
dogeystamp 2023-07-19 15:04:16 -04:00
parent 29360324bf
commit c0b0c5ba67
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 3 additions and 4 deletions

5
src/.config/vars Executable file → Normal file
View File

@ -1,10 +1,9 @@
#!/bin/sh
export VARS_SET=1
if [ -n "$VARS_SET" ]; then
exit
return
fi
export VARS_SET=1
# Set XDG directories
export XDG_CONFIG_HOME="$HOME"/.config

View File

@ -1,6 +1,6 @@
#!/bin/sh
~/.config/vars
. ~/.config/vars
if [ "$SYSTEM_PROFILE" = "DEFAULT" ]; then
eval $(ssh-agent)