diff options
| author | makefu <github@syntax-fehler.de> | 2018-10-07 23:12:16 +0200 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2018-10-07 23:12:16 +0200 |
| commit | 38592704cd325dca6282cc98f51e493ab73b435f (patch) | |
| tree | 9cf82fe1baec64a59d682c0af3794c7c9ba67aaf /tv/2configs/bash | |
| parent | fa7d70bef5622b4d074b198c736d1e28a813c9c4 (diff) | |
| parent | 789a6ecc082911f12b22cb559b57cf2f76e6f2ed (diff) | |
Merge remote-tracking branch 'lass/18.09' into 18.09
Diffstat (limited to 'tv/2configs/bash')
| -rw-r--r-- | tv/2configs/bash/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tv/2configs/bash/default.nix b/tv/2configs/bash/default.nix index 546b2e7..b75ad8b 100644 --- a/tv/2configs/bash/default.nix +++ b/tv/2configs/bash/default.nix @@ -33,11 +33,13 @@ with import <stockholm/lib>; PS1="ssh-agent[$SSH_AGENT_PID] $PS1" fi - case ''${XMONAD_SPAWN_WORKSPACE-} in - stockholm) - cd ~/stockholm - ;; - esac + if test ''${SHLVL-1} = 1; then + case ''${XMONAD_SPAWN_WORKSPACE-} in + stockholm) + cd ~/stockholm + ;; + esac + fi ''; }; } |
