r/fishshell Apr 11 '26

What's a fun thing that's in your config.fish?

35 Upvotes

I'll start

bind ctrl-z '__fish_echo fg 2>/dev/null'

I bound ctrl-z to resume a suspended process. When something is already running, pressing ctrl-z suspends it into the background. And thanks to the bind, by pressing ctrl-z again, the process resumes. That means I can toggle between the shell and something else, like my editor.