From 32d4f40991be70db0224f2625d15f44abb070f36 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Oct 2017 14:26:18 -0300 Subject: Startup commands and folder --- profile.dot.link | 9 +++++++-- 1 file 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 -- cgit v1.2.3