sh: Update xdg directory auto creation
Improved the automatic directory creation somewhat: It now looks for either a file existing there (could be a directory, could be an actual file), or a symbolic link pointing somewhere else. Only if none of those things are at the xdg location will it try to create a new directory there. Additionally, it will set the correct permissions for the whole folder chain being created, NOT just for the last folder in the chain. vifm: Switch to new xdg directory structure
This commit is contained in:
parent
dd71bd5002
commit
0d978f7673
2 changed files with 26 additions and 12 deletions
|
|
@ -118,7 +118,6 @@ set findprg='fd %A --hidden --exclude .git --exclude node_modules'
|
|||
mark h ~/
|
||||
mark d ~/downloads/
|
||||
mark p ~/projects/
|
||||
mark s ~/projects/studentassistant/
|
||||
mark i ~/pictures/
|
||||
mark v ~/videos/
|
||||
mark n ~/documents/notes/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue