mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Added my tmux start script as an example (examples/start-tmux.sh)
This commit is contained in:
		
							
								
								
									
										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