diff options
author | Rokosun <79040025+futureisfoss@users.noreply.github.com> | 2024-10-22 18:34:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 18:34:33 +0000 |
commit | 61026e18de13b27a37337359d596f5ebfdb0f294 (patch) | |
tree | a9fd085e857d6157af55e8f14fb278d5f7c9d5b8 /.config/shell%25252525252525253fid%25252525252525253dec8e82745e4a7ee6076e115dc578a370d29914e2%252525252525253fid%252525252525253dec8e82745e4a7ee6076e115dc578a370d29914e2%2525252525253fid%2525252525253dec8e82745e4a7ee6076e115dc578a370d29914e2&id2%2525252525253d44cb5f12e6c28aaada521d8b2918be9735c402c0%2525253fid%2525253d3fda574198378dd8808c101ed4fd6133c6f23444%25253fid%25253d3fda574198378dd8808c101ed4fd6133c6f23444%253fid%253dc43f390f07098c42db5efce654b07870951b512a%3fid%3d6f67789b8b6fa909f3572771d7fe7f221d2d33cd?id=61026e18de13b27a37337359d596f5ebfdb0f294 | |
parent | 628ed4dc995f3c09e33c24a01c817c18b1a268af (diff) |
Fix dangerous copy/move script in lf (#1437)
Context: I accidentally pressed the C key on my .config directory and was presented with a list of directories to copy it to, then I pressed escape to quit the fzf menu without choosing anything - instead of doing nothing the script copied all of the contents inside my .config directory into my home directory. After dealing with that mess I decided to make this PR which does the following:
- Allow users to escape out of the fzf menu without unexpected copies
- Asks the user for confirmation before copying/moving files
- Some improvements in the UI
Diffstat (limited to '.config/shell%25252525252525253fid%25252525252525253dec8e82745e4a7ee6076e115dc578a370d29914e2%252525252525253fid%252525252525253dec8e82745e4a7ee6076e115dc578a370d29914e2%2525252525253fid%2525252525253dec8e82745e4a7ee6076e115dc578a370d29914e2&id2%2525252525253d44cb5f12e6c28aaada521d8b2918be9735c402c0%2525253fid%2525253d3fda574198378dd8808c101ed4fd6133c6f23444%25253fid%25253d3fda574198378dd8808c101ed4fd6133c6f23444%253fid%253dc43f390f07098c42db5efce654b07870951b512a%3fid%3d6f67789b8b6fa909f3572771d7fe7f221d2d33cd?id=61026e18de13b27a37337359d596f5ebfdb0f294')
0 files changed, 0 insertions, 0 deletions