I’ve been a Linux user for as long as I can remember (which goes up to 5 years now), and have experimented with many distros. I started out with Ubuntu and Fedora. I then migrated to Arch-based distributions like Manjaro, and back to vanilla Arch. Slightly over a year ago, a friend of mine…
A while ago, I was trying to fix a bug in the
fzf plugin where it would treat multi-line code blocks as individual lines. The solution proposed by a user was to use
cat to print out the history file and
sed to clean up the results. This worked fine, since the history file was plain text.