Commit graph

114 commits

Author SHA1 Message Date
Lilian Jónsdóttir 73a63db198 sort filenames by number
but only if filename is just a number
^[0-9]+\.({extension})$
2024-07-28 23:30:20 -07:00
Lilian Jónsdóttir 1ac1f1c01f give variables names that are less bad 2024-07-28 19:02:11 -07:00
Lilian Jónsdóttir d2abc90638 don't add files in cwd if workdir is specified
this might be a bad and ugly way of doing it but w/e
2024-07-28 19:00:19 -07:00
Lilian Jónsdóttir ea12273da7 log error if unknown log level is passed 2024-07-28 18:29:55 -07:00
Lilian Jónsdóttir dc27974950 update fish completion 2024-07-28 18:29:39 -07:00
Lilian Jónsdóttir b065126c46 split table header into left and right aligned parts 2024-07-28 18:18:16 -07:00
Lilian Jónsdóttir 2bffa7518c improve help in header 2024-07-28 18:07:23 -07:00
Lilian Jónsdóttir eafd8cd33d sort some functions
exported on top
2024-07-28 18:07:07 -07:00
Lilian Jónsdóttir c80cf605a8 rename package tables to interactive 2024-07-28 18:06:41 -07:00
Lilian Jónsdóttir b16a8101d5 reverse size sorting
I don't know why I did that in the first place
2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir 95970274d8 oops I forgot to ignore case in reverse name sort 2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir 0fb1cfa22a ignore case when sorting by extension 2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir 7fade0ce4c move some functions out of main into packages
- confirm functions into files package
- newpath prompter into promt package
2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir 095f59babb move filemode parsing to its own package
why doesn't the std lib have this???
2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir a5e0a2546c better docstring for dirs.UnExpand 2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir b3f19bef73 show size of selected files in header 2024-07-28 18:04:12 -07:00
Lilian Jónsdóttir ead10096d7 actually use the standard library
it has the nice side effect of working better too, imagine that
2024-07-21 20:54:11 -07:00
Lilian Jónsdóttir be6885398b unicode arrows for sorting help 2024-07-17 10:47:16 -07:00
Lilian Jónsdóttir 4b4604d76e oops I forgot this 2024-07-16 11:20:49 -07:00
Lilian Jónsdóttir 83421cce0e update fish completion 2024-07-16 11:15:44 -07:00
Lilian Jónsdóttir 2d0d5bad1e add flag to clean/restore all with confirmation
also swap case on date filter flags
2024-07-16 11:15:40 -07:00
Lilian Jónsdóttir 5c02d96dc2 cleanup 2024-07-16 11:12:03 -07:00
Lilian Jónsdóttir b0607dd3d9 update modules 2024-07-16 11:11:49 -07:00
Lilian Jónsdóttir b0c5c9ed69 don't clean or restore nothing 2024-07-16 11:11:42 -07:00
Lilian Jónsdóttir 2515756d1d case insensitive name sorting 2024-07-16 11:11:12 -07:00
Lilian Jónsdóttir 8a4b195a72 be less scared of broken symlinks 2024-07-15 22:41:34 -07:00
Lilian Jónsdóttir 586c8b34cb update fish completion again 2024-07-15 21:46:28 -07:00
Lilian Jónsdóttir e7e7b79e99 improve trashed message 2024-07-15 21:46:28 -07:00
Lilian Jónsdóttir 3fb12e3c44 avoid null pointer if a broken symlink is trashed 2024-07-15 21:31:22 -07:00
Lilian Jónsdóttir 35342a06ac update fish completion 2024-07-15 21:29:04 -07:00
Lilian Jónsdóttir 940a2fc14f add flag to filter by file mode 2024-07-15 21:05:21 -07:00
Lilian Jónsdóttir 40ef230a4f make test function names more consistent 2024-07-15 21:02:26 -07:00
Lilian Jónsdóttir 97e51dd2d9 move filter test to its own package 2024-07-15 20:59:46 -07:00
Lilian Jónsdóttir 77e4f01a49 move some logging around 2024-07-15 20:56:29 -07:00
Lilian Jónsdóttir 15bd040deb make filter Match on info instead of 9001 args 2024-07-15 20:15:20 -07:00
Lilian Jónsdóttir 20f6dc92bc large performance improvement
sorting 400k - 800k files is much faster, and no longer unbearable
2024-07-15 18:48:13 -07:00
Lilian Jónsdóttir 73da0a88fe update modules 2024-07-15 18:48:13 -07:00
Lilian Jónsdóttir fe31963670 update gitignore 2024-07-15 18:42:49 -07:00
Lilian Jónsdóttir e5345426bc I dunno why I did that 2024-07-15 17:55:51 -07:00
Lilian Jónsdóttir 5769cc3a6e adjust column sizes again 2024-07-15 17:10:57 -07:00
Lilian Jónsdóttir 30b605a230 replace workdir with /
and do it right this time

I hope...
2024-07-15 17:10:38 -07:00
Lilian Jónsdóttir f193d0f5b3 adjust table column widths 2024-07-15 16:33:45 -07:00
Lilian Jónsdóttir 536fc9e925 clean dir input 2024-07-15 16:33:45 -07:00
Lilian Jónsdóttir dfed84eb74 make -H option work right 2024-07-15 16:20:46 -07:00
Lilian Jónsdóttir 689500c942 add sort by extension 2024-07-15 16:10:04 -07:00
Lilian Jónsdóttir 746bff694c restore creates directories if necessary 2024-07-15 15:59:54 -07:00
Lilian Jónsdóttir 26f5f383ce don't replace workdir anymore 2024-07-15 15:59:54 -07:00
Lilian Jónsdóttir 1a9e64d473 add flag to list and quit
maybe someday it'll do it automatically when the window is bigger than the table
2024-07-15 15:41:49 -07:00
Lilian Jónsdóttir 0e147e283b sorting preserves selection state 2024-07-15 15:32:33 -07:00
Lilian Jónsdóttir de81cfbfed add by directory status sorting 2024-07-15 15:08:02 -07:00