.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
|
#!/bin/sh
|
||||||
|
|
||||||
export VARS_SET=1
|
|
||||||
if [ -n "$VARS_SET" ]; then
|
if [ -n "$VARS_SET" ]; then
|
||||||
exit
|
return
|
||||||
fi
|
fi
|
||||||
|
export VARS_SET=1
|
||||||
|
|
||||||
# Set XDG directories
|
# Set XDG directories
|
||||||
export XDG_CONFIG_HOME="$HOME"/.config
|
export XDG_CONFIG_HOME="$HOME"/.config
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
~/.config/vars
|
. ~/.config/vars
|
||||||
|
|
||||||
if [ "$SYSTEM_PROFILE" = "DEFAULT" ]; then
|
if [ "$SYSTEM_PROFILE" = "DEFAULT" ]; then
|
||||||
eval $(ssh-agent)
|
eval $(ssh-agent)
|
||||||
|
Loading…
Reference in New Issue
Block a user