mirror of
https://github.com/nushell/nushell.git
synced 2025-08-11 06:34:28 +02:00
Add config file loading
This commit is contained in:
9
crates/nu-path/src/helpers.rs
Normal file
9
crates/nu-path/src/helpers.rs
Normal file
@ -0,0 +1,9 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub fn home_dir() -> Option<PathBuf> {
|
||||
dirs_next::home_dir()
|
||||
}
|
||||
|
||||
pub fn config_dir() -> Option<PathBuf> {
|
||||
dirs_next::config_dir()
|
||||
}
|
Reference in New Issue
Block a user