mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	
			
				
					
						
					
					f308ba93aae9de462b1b46e68b47bd77a843eed6
				
			
			
		
	default-path isn't empty, it is used. Otherwise: 1) If tmux neww is run from the command line, the working directory of the client is used. 2) Otherwise sysctl KERN_PROC_CWD is used to retrieve the current working directory of the process in the active pane. 3) If that fails, the directory where the session was created is used. Support code by Romain Francois, OpenBSD specific bits by me. Note this requires a recent userland and kernel with KERN_PROC_CWD.
Description
				No description provided
						
						
						
					Languages
				
				
								
								
									C
								
								87.5%
							
						
							
								
								
									Roff
								
								7.1%
							
						
							
								
								
									Shell
								
								2.7%
							
						
							
								
								
									Yacc
								
								1.3%
							
						
							
								
								
									M4
								
								0.8%
							
						
							
								
								
									Other
								
								0.5%