.config/vars: source instead of execute
This commit is contained in:
parent
29360324bf
commit
c0b0c5ba67
5
src/.config/vars
Executable file → Normal file
5
src/.config/vars
Executable file → Normal 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
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
~/.config/vars
|
||||
. ~/.config/vars
|
||||
|
||||
if [ "$SYSTEM_PROFILE" = "DEFAULT" ]; then
|
||||
eval $(ssh-agent)
|
||||
|
Loading…
Reference in New Issue
Block a user