|
|
Subscribe / Log in / New account

New features in the fish shell

New features in the fish shell

Posted Sep 29, 2020 19:47 UTC (Tue) by jake (editor, #205)
In reply to: New features in the fish shell by logang
Parent article: New features in the fish shell

> Bash does not add commands that begin with a space to the history

hmm, it does for me (add commands that start with a space to the history) ... i haven't investigated why but it is not something i (knowingly) configured ...

jake


to post comments

New features in the fish shell

Posted Sep 29, 2020 19:52 UTC (Tue) by dtlin (subscriber, #36537) [Link]

It's an option, HISTCONTROL=ignorespace or HISTCONTROL=ignoreboth will not save commands starting with space to ~/.bash_history .


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds