mirror of
https://github.com/sharkdp/bat
synced 2026-08-05 19:11:42 +00:00
Merge branch 'master' into fix/list-themes-pager-hang
This commit is contained in:
+1
-1
@@ -288,7 +288,7 @@ fn color_scheme_from_system() -> Option<ColorScheme> {
|
||||
const PREFERENCES_FILE: &str = "Library/Preferences/.GlobalPreferences.plist";
|
||||
const STYLE_KEY: &str = "AppleInterfaceStyle";
|
||||
|
||||
let preferences_file = home::home_dir()
|
||||
let preferences_file = std::env::home_dir()
|
||||
.map(|home| home.join(PREFERENCES_FILE))
|
||||
.expect("Could not get home directory");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user