Hot answers tagged tmux
This seems to be caused by a syntax error somewhere in your dotfiles. Common places to look: .zshrc (or .bashrc, .bash_profile, etc.), and of course .tmux.conf. In my case I forgot to put quotes like so: DISABLE_UPDATE_PROMPT=true should have been DISABLE_UPDATE_PROMPT='true'
As jasonwryan suggested, it was actually a locale issue. The client was using en_US.UTF-8, while the server was using en_US. Not entirely clear on why it matters, but whatever it works. For slackware, to set it globally, modify /etc/profile.d/lang.sh, as specified here To just modify it on a per user basis, just set LANG in your .bashrc or whatever.
You can do that from one command as Jason indicated. You can do tmux new-session -d -s session_name your_command The -d detaches the new session from the terminal. It might not needed when not started from a cron job instead from a terminal, but it won't hurt. (new is short for new-session) This has one major disadvantage in that it closes that session ...
Instead of: bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" I ended up using this code: bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard' With such a binding to copy something to the X clipboard: Press CTRL + b + [ Hit the SPACE Select the text using vi-mode key combinations Instead of Enter I hit y and without any freezes text ...
Only top voted, non community-wiki answers of a minimum length are eligible