Fix void-variable error: partitions
This commit is contained in:
		
							parent
							
								
									e9136b77cd
								
							
						
					
					
						commit
						285fd95b8b
					
				@ -512,6 +512,7 @@ If RELEASE-FILE is nil, use '/etc/os-release'."
 | 
				
			|||||||
         (kernel        (concat (s-trim (shell-command-to-string "uname -s"))
 | 
					         (kernel        (concat (s-trim (shell-command-to-string "uname -s"))
 | 
				
			||||||
                                " "
 | 
					                                " "
 | 
				
			||||||
                                (s-trim (shell-command-to-string "uname -r"))))
 | 
					                                (s-trim (shell-command-to-string "uname -r"))))
 | 
				
			||||||
 | 
					         (partitions    (eshell-info-banner--get-mounted-partitions))
 | 
				
			||||||
         (left-padding  (eshell-info-banner--get-longest-path partitions))
 | 
					         (left-padding  (eshell-info-banner--get-longest-path partitions))
 | 
				
			||||||
         (left-text     (max (length os)
 | 
					         (left-text     (max (length os)
 | 
				
			||||||
                             (length hostname)))
 | 
					                             (length hostname)))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user