mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	last-working-dir working with spaces in dirnames
This commit is contained in:
		
				
					committed by
					
						
						ncanceill
					
				
			
			
				
	
			
			
			
						parent
						
							d0b690b584
						
					
				
				
					commit
					83295ec9bc
				
			@@ -15,7 +15,7 @@ function chpwd() {
 | 
			
		||||
 | 
			
		||||
# Changes directory to the last working directory.
 | 
			
		||||
function lwd() {
 | 
			
		||||
	[[ ! -r "$cache_file" ]] || cd `cat "$cache_file"`
 | 
			
		||||
	[[ ! -r "$cache_file" ]] || cd "`cat "$cache_file"`"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Automatically jump to last working directory unless this isn't the first time
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user