summaryrefslogtreecommitdiffstats
path: root/tv/2configs/bash/default.nix
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
commitd4609b61881781095176ee1b53c7e71b8bf5fb63 (patch)
treebbd8d52cf7590939848f72c65cf156ea0f17d767 /tv/2configs/bash/default.nix
parent58380c82848c3db0bd6c3d74904153f3464c2098 (diff)
tv bash: cd to repo at stockholm workspace
Diffstat (limited to 'tv/2configs/bash/default.nix')
-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 40c0725ed..31f744ba6 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
'';
};
}