From e59d07873b2211f7d09dcb07c1a4bea617fc3611 Mon Sep 17 00:00:00 2001 From: anki-code Date: Sat, 28 Mar 2020 18:39:05 +0300 Subject: [PATCH] XDG --- entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a4572c3..d3024ee 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -90,6 +90,12 @@ CURRENT_DIR="$(cd "$(dirname "$0")" && pwd)" cd $CURRENT_DIR export XXH_HOME=`readlink -f $CURRENT_DIR/../../../..` + +#if [[ ! -d $XXH_HOME/.local/share/ ]]; then +# mkdir -p $XXH_HOME/.local/share/ +#fi +#export HISTORY_FILE=$XXH_HOME/.your_portable_shell_history + export XDG_CONFIG_HOME=$XXH_HOME/.config if [[ $HOMEPATH != '' ]]; then @@ -105,7 +111,6 @@ else export HOME=$XXH_HOME fi -#export HISTORY_FILE=$XXH_HOME/.your_portable_shell_history # # Run the portable shell