diff options
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 '.local%252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525253db30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7&id2%252525252525252525252525252525252525252525252525252525252525252525252525253dbfd7ef110c3a205dc13ddb6c63d4c0d19f13ceaa%2525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525253db30ca735b60e5df2c30ab4eb7a6fe0eb0e7ecab7%25252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525253dbfd7ef110c3a205dc13ddb6c63d4c0d19f13ceaa%252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525253dbfd7ef110c3a205dc13ddb6c63d4c0d19f13ceaa%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253dbfd7ef110c3a205dc13ddb6c63d4c0d19f13ceaa&id2%2525252525252525252525252525252525252525252525252525252525252525253d4b508301489da44757bee5db64e2cd0b9f29591e%25252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%2525252525252525252525252525252525252525252525253fshowmsg%2525252525252525252525252525252525252525252525253d1%25252525252525252525252525252525252525252525253fshowmsg%25252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525253fid2%2525252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%25252525252525252525252525252525252525253fid2%25252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525252525252525252525253fid2%252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%25252525252525252525252525252525253fid2%25252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525252525252525253fid2%252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%25252525252525252525252525253fid2%25252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525253fshowmsg%252525252525252525253d1%2525252525252525253fshowmsg%2525252525252525253d1%252525252525253fid2%252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525253fid%25252525253d3fda574198378dd8808c101ed4fd6133c6f23444%252525253fid%252525253dc43f390f07098c42db5efce654b07870951b512a%2525253fid%2525253d6f67789b8b6fa909f3572771d7fe7f221d2d33cd%25253fid%25253d61026e18de13b27a37337359d596f5ebfdb0f294%253fid%253d61026e18de13b27a37337359d596f5ebfdb0f294&id2%253d628ed4dc995f3c09e33c24a01c817c18b1a268af%3fid%3d61026e18de13b27a37337359d596f5ebfdb0f294&id2%3d628ed4dc995f3c09e33c24a01c817c18b1a268af?id=61026e18de13b27a37337359d596f5ebfdb0f294')
0 files changed, 0 insertions, 0 deletions