pub fn process_home_dir_in_path(value: &Path) -> PathBuf
Checks for ~ and replaces it with a home directory if necessary.