From 9673e9f3645ebc349415e7d7aaa69645de248994 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 2 Nov 2024 11:13:24 -0300 Subject: Fix: profile: rollback: always cd to STARTUP_FOLDER --- profile.dot.link | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'profile.dot.link') diff --git a/profile.dot.link b/profile.dot.link index 487e0ec..a8acc66 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -457,10 +457,13 @@ if [ -z "$STARTUP_FOLDER" ] && [ -f "/srv/shared/kvmxfile" ]; then STARTUP_FOLDER="/srv/shared" fi +# Only change to the startup folder if it's set +#if [ ! -z "$STARTUP_FOLDER" ]; then +# cd $STARTUP_FOLDER +#fi + # Make sure we start at the startup folder, defaulting to home -if [ ! -z "$STARTUP_FOLDER" ]; then - cd $STARTUP_FOLDER -fi +cd $STARTUP_FOLDER # Include other profiles if [ -d "$HOME/.profile.d" ]; then -- cgit v1.2.3