summaryrefslogtreecommitdiff
path: root/dotfiles/system/.profile.d/auto-tmux-session.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/system/.profile.d/auto-tmux-session.sh')
-rw-r--r--dotfiles/system/.profile.d/auto-tmux-session.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/dotfiles/system/.profile.d/auto-tmux-session.sh b/dotfiles/system/.profile.d/auto-tmux-session.sh
deleted file mode 100644
index cd39fab..0000000
--- a/dotfiles/system/.profile.d/auto-tmux-session.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-# auto-tmux-session.sh
-# Craig Jennings <c@cjennings.net>
-# Start tmux automatically when connecting via SSH
-
-if [ -z "$TMUX" ] && [ -n "$SSH_CONNECTION" ]; then
- export TERM="xterm-mono"
- tmux attach-session -t "$USER" || tmux new-session -s "$USER"
-fi