fish-shell/fish-shell — pull request #615 by kvs (2013-03-09 00:15:22+00:00)
Title: Simple hack to emulate bash/zsh's HISTCONTROL=ignorespace

A leading space on a command will skip saving in history.

I thought about making this configurable, or adding an option
to the `history` builtin, but it all just seemed too complex for
such a simple thing.

An alternative would've been a built-in command like 'nohist'
or somesuch, but that also seemed excessive.