Quantcast
Channel: Active questions tagged fish - Stack Overflow
Viewing all articles
Browse latest Browse all 106

ctrl-r search in fish with long commands [closed]

$
0
0

I'm looking for a solution to searching history with fish when your history is full of long commands. I often have curl commands that contain json payloads in my history that I want to repeat, for example, and they're long enough that they don't fit into a single line, which makes it very hard to differentiate between them at a glance. My current solution is to type more of what I want but its pretty annoying.

shell history

Is there a way to make the history entries appear as they were executed, without reducing them to a single line? Is there a more clever solution I'm not thinking to ask for?


Viewing all articles
Browse latest Browse all 106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>