|
|
Log in / Subscribe / Register

New features in the fish shell

New features in the fish shell

Posted Sep 30, 2020 14:09 UTC (Wed) by randomguy3 (subscriber, #71063)
In reply to: New features in the fish shell by Paf
Parent article: New features in the fish shell

For me, I don't use the history suppression very often, but occasionally I want to use a command that requires, say, passing a password as an argument (not ideal, but sometimes unavoidable), or something that will pollute history searches (which I make heavy use of). A leading space is something I rarely do accidentally, but is easy to do and easy to remember when I want it.


to post comments

New features in the fish shell

Posted Sep 30, 2020 20:38 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

My pattern for this is to put the token/password in a variable whose assignment is hidden in the history with the leading space. The command itself is usually of value in the history.


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