the tmux autostart thingy was acting up. disabled for now.
This commit is contained in:
		
							parent
							
								
									2eab908ef5
								
							
						
					
					
						commit
						346de3fbb0
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		
							
								
								
									
										11
									
								
								zsh/.zshrc
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								zsh/.zshrc
									
										
									
									
									
								
							| 
						 | 
					@ -156,8 +156,9 @@ local LOCAL_ZSHRC=$HOME/.zshlocal/.zshrc       # Allow the local machine to have
 | 
				
			||||||
    source $LOCAL_ZSHRC
 | 
					    source $LOCAL_ZSHRC
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#launch a tmux session for interactive shells (attaching to an existing tmux session if possible.
 | 
					##launch a tmux session for interactive shells (attaching to an existing tmux session if possible.
 | 
				
			||||||
if which tmux > /dev/null 2>&1; then	#checks if tmux is installed. if it is not, do nothing.
 | 
					#seems to be buggy for now, sometimes doesnt work. 
 | 
				
			||||||
	#try to attach to an exsisting tmux session, or, if that doesnt exist, make a new one.
 | 
					#if which tmux > /dev/null 2>&1; then	#checks if tmux is installed. if it is not, do nothing.
 | 
				
			||||||
	test -z ${TMUX} && (tmux attach || tmux new-session)
 | 
					#	#try to attach to an exsisting tmux session, or, if that doesnt exist, make a new one.
 | 
				
			||||||
fi
 | 
					#	test -z ${TMUX} && (tmux attach || tmux new-session)
 | 
				
			||||||
 | 
					#fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue