diff options
author | rabite <rabite@posteo.de> | 2019-04-03 00:31:49 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-04-03 00:31:49 +0200 |
commit | 0519f65392289bfdce6e8d140b31384019bd2748 (patch) | |
tree | 48be3f2d1c7f974c0f4c3efd9affb0be98352429 /src/paths.rs | |
parent | 4d495750968ca2e0bfd507d574689e1369891113 (diff) |
better boomarks + ranger import
Diffstat (limited to 'src/paths.rs')
-rw-r--r-- | src/paths.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/paths.rs b/src/paths.rs index 8917756..8774597 100644 --- a/src/paths.rs +++ b/src/paths.rs @@ -9,6 +9,12 @@ pub fn home_path() -> HResult<PathBuf> { Ok(home) } +pub fn ranger_path() -> HResult<PathBuf> { + let mut ranger_path = dirs_2::config_dir()?; + ranger_path.push("ranger/"); + Ok(ranger_path) +} + pub fn hunter_path() -> HResult<PathBuf> { let mut hunter_path = dirs_2::config_dir()?; hunter_path.push("hunter/"); |