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 '%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d92f9fc458cb6ed9287f59df3eb0b5daee5468c09%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d92f9fc458cb6ed9287f59df3eb0b5daee5468c09&id2%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253db545443993b1fed2665a9359033ccd2fea5efb8f%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d92f9fc458cb6ed9287f59df3eb0b5daee5468c09%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253db545443993b1fed2665a9359033ccd2fea5efb8f%25252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525253dcf4a12acb3a70951fd59d67e0738bf3ab2d1045c%252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525253d7a96fb100cf385e05c211937b509d2bf166299e6%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525253d07952026753f1bbeaf5b6c4eb5414a9c51536041%25252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525253d07952026753f1bbeaf5b6c4eb5414a9c51536041%252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525253d07952026753f1bbeaf5b6c4eb5414a9c51536041%2525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525253d07952026753f1bbeaf5b6c4eb5414a9c51536041%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%25252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%2525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%25252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525253d131dcce2689f9fe45572212803b36be11ff2eb4e%252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525253d368d3583a6c2e067491a160553c4130187fd0127%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d368d3583a6c2e067491a160553c4130187fd0127%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d368d3583a6c2e067491a160553c4130187fd0127&id2%25252525252525252525252525252525252525252525252525253dcf38cd5ba813741e8ea61c72b30b8c983a3d0abb%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d368d3583a6c2e067491a160553c4130187fd0127%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253d368d3583a6c2e067491a160553c4130187fd0127%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253dcf38cd5ba813741e8ea61c72b30b8c983a3d0abb%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253dcf38cd5ba813741e8ea61c72b30b8c983a3d0abb%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253d22141ca7543e98c21ec721acaa3f9f4ff42157bd%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d22141ca7543e98c21ec721acaa3f9f4ff42157bd%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d22141ca7543e98c21ec721acaa3f9f4ff42157bd%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d22141ca7543e98c21ec721acaa3f9f4ff42157bd&id2%2525252525252525252525252525252525253db4b462029cca2b2066e6065495cf407d107739a1%2525252525252525252525252525253fid%2525252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%25252525252525252525252525253fid%25252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%252525252525252525252525253fid%252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%2525252525252525252525253fid%2525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%25252525252525252525253fid%25252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7%252525252525252525253fid%252525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7&id2%252525252525252525253d131dcce2689f9fe45572212803b36be11ff2eb4e%2525252525252525253fid%2525252525252525253d779ef2f5feb3221a1e29262234fafa13c4db5ab7&id2%2525252525252525253d131dcce2689f9fe45572212803b36be11ff2eb4e%2525252525253fid%2525252525253d69db14148495e451e3dedea4d5543f65b0afe10a%25252525253fid%25252525253d3fda574198378dd8808c101ed4fd6133c6f23444%252525253fid%252525253dc43f390f07098c42db5efce654b07870951b512a%2525253fid%2525253dc43f390f07098c42db5efce654b07870951b512a&id2%2525253d6f67789b8b6fa909f3572771d7fe7f221d2d33cd%25253fid%25253dc43f390f07098c42db5efce654b07870951b512a%253fid%253dc43f390f07098c42db5efce654b07870951b512a%3fid%3d6f67789b8b6fa909f3572771d7fe7f221d2d33cd?id=61026e18de13b27a37337359d596f5ebfdb0f294')
0 files changed, 0 insertions, 0 deletions