mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Sync.
This commit is contained in:
		@@ -1,4 +1,6 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
#!/bin/sh -x
 | 
			
		||||
 | 
			
		||||
[ ! -z "$TMUX" ] && exit
 | 
			
		||||
 | 
			
		||||
SOCKET=/tmp/tmux-1000-main
 | 
			
		||||
SESSION=natasha-main
 | 
			
		||||
@@ -7,8 +9,11 @@ TMUX="tmux -S $SOCKET"
 | 
			
		||||
 | 
			
		||||
if ! $TMUX -s $SESSION attach 2>/dev/null; then
 | 
			
		||||
    $TMUX new -d -s $SESSION -nyelena 'exec ssh yelena'		# 0
 | 
			
		||||
 | 
			
		||||
    $TMUX set default-command "$SHELL -l"
 | 
			
		||||
 | 
			
		||||
    $TMUX -s $SESSION neww -d -ntodo 'exec emacs ~/TODO'	# 1
 | 
			
		||||
    $TMUX -s $SESSION neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf' # 2
 | 
			
		||||
    $TMUX -s $SESSION neww -d -nncmpc				# 2
 | 
			
		||||
    $TMUX -s $SESSION neww -d					# 3
 | 
			
		||||
    $TMUX -s $SESSION neww -d					# 4
 | 
			
		||||
    $TMUX -s $SESSION neww -d					# 5
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user