feat: smart path (#914)

path_display = { "smart" }

Co-authored-by: Deniz <deniz@admentum.se>
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
qualious
2021-09-12 22:14:00 +03:00
committed by GitHub
parent 978366ba46
commit 1d17cc4abc
3 changed files with 49 additions and 0 deletions

View File

@@ -201,6 +201,8 @@ local telescope_defaults = {
- "hidden" hide file names
- "tail" only display the file name, and not the path
- "absolute" display absolute paths
- "smart" remove as much from the path as possible to only show
the difference between the displayed paths
- "shorten" only display the first character of each directory in
the path