Skip to content
Discussion options

You must be logged in to vote

Hmm. You can override the default history handler with one that just always says "yup save it to history."

Set-PSReadLineOption -AddToHistoryHandler { Return $true }

You'd need to add that to your $PROFILE to get it to stick.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@owocado
Comment options

@Niko-O
Comment options

Comment options

You must be logged in to vote
4 replies
@DHowett
Comment options

@owocado
Comment options

@DHowett
Comment options

Answer selected by owocado
@owocado
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants