aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-11-02 11:13:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-11-02 11:13:24 -0300
commit9673e9f3645ebc349415e7d7aaa69645de248994 (patch)
tree63e3a645967a1a4e9bf287f8bc2fdcdcc3601ef2
parent1eee787c52d6d6ec61a76714486978206e1964b6 (diff)
downloadprofile-master.tar.gz
profile-master.tar.bz2
Fix: profile: rollback: always cd to STARTUP_FOLDERHEADmaster
-rw-r--r--profile.dot.link9
1 files changed, 6 insertions, 3 deletions
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