mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Added my tmux start script as an example (examples/start-tmux.sh)
This commit is contained in:
		
							
								
								
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								CHANGES
									
									
									
									
									
								
							@@ -1,5 +1,6 @@
 | 
			
		||||
04 October 2007
 | 
			
		||||
 | 
			
		||||
* (mxey) Added my tmux start script as an example (examples/start-tmux.sh)
 | 
			
		||||
* (mxey) New sessions can now be given a command for their first window
 | 
			
		||||
* (mxey) Fixed usage statemnt for new-window
 | 
			
		||||
* (nicm) attach-session (can't believe I forgot it until now!) and list-windows
 | 
			
		||||
@@ -114,5 +115,5 @@
 | 
			
		||||
  (including mutt, emacs). No status bar yet and no key remapping or other
 | 
			
		||||
  customisation.
 | 
			
		||||
 | 
			
		||||
$Id: CHANGES,v 1.33 2007-10-04 13:43:14 mxey Exp $
 | 
			
		||||
$Id: CHANGES,v 1.34 2007-10-04 14:14:12 mxey Exp $
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								examples/start-tmux.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								examples/start-tmux.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
tmux attach
 | 
			
		||||
if [[ $? = 1 ]]; then
 | 
			
		||||
    tmux new-session -d -nmain 'exec irssi'
 | 
			
		||||
    tmux -smain set prefix '^H'
 | 
			
		||||
    tmux -smain new-window -d -nherrie 'exec sudo herrie -c /home/mxey/etc/herrie/config'
 | 
			
		||||
    tmux -smain new-window -d 'exec lynx'
 | 
			
		||||
    exec tmux -smain attach
 | 
			
		||||
fi
 | 
			
		||||
		Reference in New Issue
	
	Block a user