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 '%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d92f9fc458cb6ed9287f59df3eb0b5daee5468c09%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d92f9fc458cb6ed9287f59df3eb0b5daee5468c09%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253db545443993b1fed2665a9359033ccd2fea5efb8f%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253db545443993b1fed2665a9359033ccd2fea5efb8f&id2%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dcf4a12acb3a70951fd59d67e0738bf3ab2d1045c%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid2%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fshowmsg%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fshowmsg%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a&id2%252525252525252525252525252525252525252525252525252525252525252525252525252525253d8d46b8d61d6ee915d419d3f59eacd2d173f268e1%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525253d8d46b8d61d6ee915d419d3f59eacd2d173f268e1%252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525253d8d46b8d61d6ee915d419d3f59eacd2d173f268e1%2525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525253d8d46b8d61d6ee915d419d3f59eacd2d173f268e1&id2%2525252525252525252525252525252525252525252525252525252525252525252525253dd3108c0fdb8d8b2a0824726193f1ef4af6d7d242%25252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525253d8d46b8d61d6ee915d419d3f59eacd2d173f268e1%252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a%25252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a&id2%25252525252525252525252525252525252525252525252525252525252525253d37930fdf573c4834e080c4a2ea94706c5465071c%252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a&id2%252525252525252525252525252525252525252525252525252525252525253d37930fdf573c4834e080c4a2ea94706c5465071c%2525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a%25252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a%252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a&id2%2525252525252525252525252525252525252525252525252525253d37930fdf573c4834e080c4a2ea94706c5465071c%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a&id2%25252525252525252525252525252525252525252525252525253d37930fdf573c4834e080c4a2ea94706c5465071c%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d2c8acb2d7dbe84ede49d7b287eb4e7c7d040152a%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253dfe96c467eec5d66864dde93b4b5186524e258fd1&id2%252525252525252525252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525252525252525253fid2%25252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525252525253fid2%252525252525252525252525253d628ed4dc995f3c09e33c24a01c817c18b1a268af%252525252525252525253fid%252525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%2525252525252525253fid%2525252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525252525253fid%25252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%252525252525253fid%252525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%2525252525253fid%2525252525253d398886b6d4631bb1e695bf7851f1012c64f6895a%25252525253fid%25252525253d031938a792ac3107a512e89504929ef9e3e8ed6a%25253fid%25253d3fda574198378dd8808c101ed4fd6133c6f23444%253fid%253dc43f390f07098c42db5efce654b07870951b512a%3fid%3d6f67789b8b6fa909f3572771d7fe7f221d2d33cd?id=61026e18de13b27a37337359d596f5ebfdb0f294')
0 files changed, 0 insertions, 0 deletions