aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-23 11:24:33 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-23 11:24:33 +0100
commit73fe0f92fa3658c3ef67cd3e262f55c9460d2b0c (patch)
tree7001039976bea3f28d4a5495df1eb9e951c737c3
parent.profile: add brew's unversioned python symlinks (diff)
downloadlinux-home-73fe0f92fa3658c3ef67cd3e262f55c9460d2b0c.tar.gz
linux-home-73fe0f92fa3658c3ef67cd3e262f55c9460d2b0c.zip
tmux: attach to the named session
Diffstat (limited to '')
-rw-r--r--%HOME%/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index c3fd29f..71872c5 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -161,7 +161,7 @@ elif multiplexed; then
# Skip, we're already running a multiplexer.
true
elif command -v tmux &> /dev/null; then
- exec tmux
+ exec tmux new -A -s main
fi
# Disable Alt+N shortcuts, which I use in tmux: