aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link9
1 files changed, 7 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 6fb9472..47b3f6c 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -245,5 +245,10 @@ fi
# Avoid Enter SOCKS5 password for user@127.0.0.1 when using ssh+tor
export SOCKS5_PASSWORD=""
-# Make sure we start at home
-cd
+# Make sure we start at the startup folder, defaulting to home
+cd $STARTUP_FOLDER
+
+# Run startup commands
+if [ ! -z "$STARTUP" ]; then
+ $STARTUP
+fi