You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed a new Linux system on debian 10.12.
What I did is copy / paste my ~/.zshrc and ~/.tmux.conf from my previous OS to the new one.
The only thing is ... ZSH_TMUX_AUTOCONNECT has no effect. Can you help me out ?
What I want:
Every time I open a new tab in a terminal (guake, or terminal) I want a new tmux session to be created
What I have instead:
Every time I open a new tab I get the previous tmux sessions opened
How I try to achieve that:
~/.zshrc
ZSH_TMUX_AUTOSTART=false
ZSH_TMUX_AUTOCONNECT=false
export ZSH_TMUX_AUTOSTART=false
export ZSH_TMUX_AUTOCONNECT=false
export ZSH="/home/${USER}/.oh-my-zsh"# Set name of the theme to load --- if set to "random", it will# load a random theme each time oh-my-zsh is loaded, in which case,# to know which specific one was loaded, run: echo $RANDOM_THEME# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"source$ZSH/oh-my-zsh.sh
~/.tmux.conf
# Change the prefix key to C-a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
unbind %
bind C-r source-file /home/someuser/.tmux.conf \; display-message "conf reloaded"
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
unbind C-w
unbind C-x
bind C-w split-window -h
bind C-x split-window -v
# quick pane cycling
bind C-a select-pane -t :.+
unbind C-d
bind C-d kill-pane
## CLIPBOARD selection integration
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys !
I just installed a new Linux system on debian 10.12.
What I did is copy / paste my ~/.zshrc and ~/.tmux.conf from my previous OS to the new one.
The only thing is ...
ZSH_TMUX_AUTOCONNECT
has no effect. Can you help me out ?What I want:
What I have instead:
How I try to achieve that:
~/.zshrc
~/.tmux.conf
Thanks 🤗
Beta Was this translation helpful? Give feedback.
All reactions