Commit graph

18 commits

Author SHA1 Message Date
Lilian Jónsdóttir f9232a095b some consistency would be nice 2024-06-24 21:54:46 -07:00
Lilian Jónsdóttir 379428509c trash command: if args are existing files, don't find files based on filter, just trash args 2024-06-21 21:52:59 -07:00
Lilian Jónsdóttir 6949c8ab4e make sure trash directories exist 2024-06-20 11:38:00 -07:00
Lilian Jónsdóttir 7b4751c1ae always confirm once when permanently removing from trash
otherwise, askconfirm is respected
when askconfirm is true, trash cleaning requires two confirms
2024-06-20 11:37:48 -07:00
Lilian Jónsdóttir 285969a269 enable cli's bash completion
still haven't gotten it to work but I guess I'll try again
2024-06-20 09:30:15 -07:00
Lilian Jónsdóttir 4c133f0d0f enable short option merging 2024-06-19 22:44:07 -07:00
Lilian Jónsdóttir 966643fd2e replace workdir with . in tables 2024-06-19 22:21:35 -07:00
Lilian Jónsdóttir f7605f6eab actually only for flags 2024-06-19 21:59:04 -07:00
Lilian Jónsdóttir d671daa2f1 sentence case for usage 2024-06-19 21:54:50 -07:00
Lilian Jónsdóttir 647a16dacb add flag for confirmation
only confirm if flag is passed
2024-06-19 21:51:56 -07:00
Lilian Jónsdóttir f78bec0a27 add filters for file/dir only and ignoring hidden 2024-06-19 20:23:05 -07:00
Lilian Jónsdóttir 2f56ecf40b add interactive mode
when run with no args, interactive mode is launched
files in trash are listed, select files, and use r/c to restore/clean them
2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 00cee25075 add interactive tables for all commands 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir c72b82f542 whoops 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 4d929160d1 add original-path flag for list/restore/clean files in trash 2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 2e82cd2388 trash files instead of containing dir
oops
2024-06-19 19:19:07 -07:00
Lilian Jónsdóttir 6794b3a9b2 add reverse glob and regex filters 2024-06-19 19:19:06 -07:00
Lilian Jónsdóttir cc1523034b initial commit, it does the thing 2024-06-19 19:19:06 -07:00