News for hackers. Stuff that matters.
Re:Vault – A tool for managing secrets by odiroot on Tuesday April 28, 2015 @03:33PM (#9454605)
Put a space before the command and it's gone from the history, AFAIR.
Re:Vault – A tool for managing secrets by lenish on Tuesday April 28, 2015 @03:59PM (#9454759)
This is only true in bash if HISTCONTROL contains ignorespace or ignoreboth (ignoreboth implies ignorespace and ignoredups), so you should check that before relying on this functionality.
Re:Vault – A tool for managing secrets by ams6110 on Tuesday April 28, 2015 @03:43PM (#9454660)
Yes but very easy to forget to do. BTDT.
Re:Vault – A tool for managing secrets by msutherl on Tuesday April 28, 2015 @05:26PM (#9455258)
Could you alias "vault" to " vault"?
Re:Vault – A tool for managing secrets by gknoy on Wednesday April 29, 2015 @04:09AM (#9456984)
I doubt it. My history file shows all the git-related aliases I use (st, gd, gd-) rather than the expansions (git status, git diff, git diff --cached).