aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@shmibbles.me>2015-12-22 16:44:06 -0700
committershmibs <shmibs@shmibbles.me>2015-12-22 16:44:06 -0700
commit277bc9cb29ed4a05eab37c5304a6ad7c18c9bafb (patch)
tree083a418303f3d8e1c47ff5e5f3ee4c08b75961ca
parent94d93f76962a0b1442ea1076d9cc5023080691a0 (diff)
downloaddotfiles-277bc9cb29ed4a05eab37c5304a6ad7c18c9bafb.tar.gz
auto tmux for remote connections
-rw-r--r--.zshrc-remote4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc-remote b/.zshrc-remote
new file mode 100644
index 0000000..f7e5c0d
--- /dev/null
+++ b/.zshrc-remote
@@ -0,0 +1,4 @@
+if [[ $TERM != "screen" ]]; then
+ tmux
+ logout
+fi