Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmux-continuum run at startup on linux #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

tmux-continuum run at startup on linux #10

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 18, 2015

Started with adding tmux-continuum run at startup support for linux OSes. Given the diversity of linuxes, a larger effort will be required in getting a fully supported implementation working. As such, I've laid the basic groundwork that is effectively the same on all linuxes, (nixes for that matter) and what remains is implementing a cross platform startup scripting method. As an Ubuntu and CentOS user, I can do this for my OSes but I can't be certain that it will work across the board, and I'm certain it won't for any Slackware based distros.

…Ses. Given the diversity of linuxes, a larger effort will be required in getting a fully supported implementation working. As such, I've laid the basic groundwork that is effectively the same on all linuxes, (nixes for that matter) and what remains is implementing a cross platform startup scripting method. As an Ubuntu and CentOS user, I can do this for my OSes but I can't be certain that it will work across the board, and I'm certain it won't for any Slackware based distros.
@jpickwell
Copy link

On Ubuntu Server 14.04, I have the following at the end of my .bashrc file:

# run tmux, but only if we're not inside tmux (prevent endless loop)
if [ -z $TMUX ]; then
  TMUX= tmux -2 new
fi

My feeling is that if you're using a GUI, then you really only need tmux to start when the terminal starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant