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 '%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dcf38cd5ba813741e8ea61c72b30b8c983a3d0abb%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d82ddcd87ecd9e614f4ae58e8403dd93720570a62%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dc771c66b18f12fdbe4b2ecaf1987db1a63555a01%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dc771c66b18f12fdbe4b2ecaf1987db1a63555a01%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dd56ca0c95bd6cfb08e9c65016f63cfdafb55a508%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dd56ca0c95bd6cfb08e9c65016f63cfdafb55a508%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d534348e0b69c5bf6bbcf5e0316363ffaaec70bc5%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253d534348e0b69c5bf6bbcf5e0316363ffaaec70bc5&id2%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253d3fb60852de6d6d9011afdf65b247690ae54dfa5b%25252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525253d534348e0b69c5bf6bbcf5e0316363ffaaec70bc5&id2%25252525252525252525252525252525252525252525252525252525252525252525252525252525253d3fb60852de6d6d9011afdf65b247690ae54dfa5b%25252525252525252525252525252525252525252525252525252525252525252525252525253fid2%25252525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%2525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525253d031938a792ac3107a512e89504929ef9e3e8ed6a%252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525253dea3e1e14cc49d68c9900fb05d9ee7bb9e719688e%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253dea3e1e14cc49d68c9900fb05d9ee7bb9e719688e&id2%2525252525252525252525252525252525252525252525252525252525252525253d0cc589bcadf5a8ce6aee2706e749fee878ccca75%252525252525252525252525252525252525252525252525252525253fid2%252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253da9cde940c2a956f98b6a5cd8496d24fe7de58e64%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af&id2%2525252525252525252525252525252525253da9cde940c2a956f98b6a5cd8496d24fe7de58e64%25252525252525252525252525252525253fid%25252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525252525252525253fid%252525252525252525252525252525253da9cde940c2a956f98b6a5cd8496d24fe7de58e64%2525252525252525252525252525253fid%2525252525252525252525252525253dcf38cd5ba813741e8ea61c72b30b8c983a3d0abb%25252525252525252525252525253fid%25252525252525252525252525253dcf38cd5ba813741e8ea61c72b30b8c983a3d0abb%252525252525252525252525253fid%252525252525252525252525253d82ddcd87ecd9e614f4ae58e8403dd93720570a62%2525252525252525252525253fid%2525252525252525252525253d82ddcd87ecd9e614f4ae58e8403dd93720570a62%25252525252525252525253fid%25252525252525252525253ddda032a37d654557fbf2542d8b0385ba79584a4b%252525252525252525253fid%252525252525252525253ddda032a37d654557fbf2542d8b0385ba79584a4b%2525252525252525253fid%2525252525252525253ddda032a37d654557fbf2542d8b0385ba79584a4b%252525253fid%252525253d3fda574198378dd8808c101ed4fd6133c6f23444%2525253fid%2525253d3fda574198378dd8808c101ed4fd6133c6f23444%25253fid%25253d3fda574198378dd8808c101ed4fd6133c6f23444%253fid%253dc43f390f07098c42db5efce654b07870951b512a%3fid%3d6f67789b8b6fa909f3572771d7fe7f221d2d33cd?id=61026e18de13b27a37337359d596f5ebfdb0f294')
0 files changed, 0 insertions, 0 deletions