summaryrefslogtreecommitdiffstats
path: root/tv/2configs/bash
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-14 01:22:25 +0200
committertv <tv@krebsco.de>2017-07-14 01:22:25 +0200
commit04d0fbb08885041f018cdf6ee0d58780a5806e2e (patch)
tree08b1d48e6aac741a83afb5f8ee4ca7a1c7c7a245 /tv/2configs/bash
parent63c8634c5f9d546d2108ee9dd72fb1b9d2fa4ed6 (diff)
tv bash: cd to repo at stockholm workspace
Diffstat (limited to 'tv/2configs/bash')
-rw-r--r--tv/2configs/bash/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tv/2configs/bash/default.nix b/tv/2configs/bash/default.nix
index 40c0725..31f744b 100644
--- a/tv/2configs/bash/default.nix
+++ b/tv/2configs/bash/default.nix
@@ -32,6 +32,12 @@ with import <stockholm/lib>;
if test -n "$SSH_AGENT_PID"; then
PS1="ssh-agent[$SSH_AGENT_PID] $PS1"
fi
+
+ case ''${XMONAD_SPAWN_WORKSPACE-} in
+ stockholm)
+ cd ~/stockholm
+ ;;
+ esac
'';
};
}