mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Set cache_dir on MacOS to ~/.cache/bat/
This commit is contained in:
		@@ -12,7 +12,7 @@ impl BatProjectDirs {
 | 
			
		||||
        #[cfg(target_os = "macos")]
 | 
			
		||||
        let cache_dir = match dirs_rs::home_dir() {
 | 
			
		||||
            Some(mut d) => {
 | 
			
		||||
                d.push(".config/bat/cache");
 | 
			
		||||
                d.push(".cache/bat");
 | 
			
		||||
                d
 | 
			
		||||
            }
 | 
			
		||||
            None => return None,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user