From c0b0c5ba673589b47fa60e27a2973c9435704e91 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 19 Jul 2023 15:04:16 -0400 Subject: [PATCH] .config/vars: source instead of execute --- src/.config/vars | 5 ++--- src/.profile | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) mode change 100755 => 100644 src/.config/vars diff --git a/src/.config/vars b/src/.config/vars old mode 100755 new mode 100644 index a2cdebb..2661838 --- a/src/.config/vars +++ b/src/.config/vars @@ -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 diff --git a/src/.profile b/src/.profile index 661268b..d05f504 100644 --- a/src/.profile +++ b/src/.profile @@ -1,6 +1,6 @@ #!/bin/sh -~/.config/vars +. ~/.config/vars if [ "$SYSTEM_PROFILE" = "DEFAULT" ]; then eval $(ssh-agent)