Group notes in sub-directories by year and month
All checks were successful
/ check (push) Successful in 1m34s
All checks were successful
/ check (push) Successful in 1m34s
This commit is contained in:
parent
2870a256da
commit
21e54a64ce
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pkgs.writeShellApplication {
|
|||
];
|
||||
|
||||
text = ''
|
||||
folder="''${ZET_DIR:-"$XDG_DOCUMENTS_DIR/wiki/zet"}"
|
||||
folder="''${ZET_DIR:-"$XDG_DOCUMENTS_DIR/wiki/zet"}/$(date +%Y)/$(date +%m)"
|
||||
|
||||
mkdir -p "$folder"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue