Last active
February 3, 2024 13:33
-
-
Save dezren39/06e6e612b8bfd55491c5330b2f54f704 to your computer and use it in GitHub Desktop.
x mods powershell conversational
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invoke-Expression (&starship init powershell) | |
Import-Module HistoryPx | |
function xx( | |
[Parameter(Position = 0, ValueFromPipeline = $true)]$1, | |
[Parameter(Position = 1, ValueFromRemainingArguments = $true, ValueFromPipeline = $true)]$2 | |
) { | |
function x( | |
[Parameter(Position = 0, ValueFromPipeline = $true)]$3, | |
[Parameter(Position = 1, ValueFromRemainingArguments = $true, ValueFromPipeline = $true)]$4 | |
) { | |
mods --model 'gpt-4-1106-preview' --continue "$1$2" $3 $4 | |
} | |
} | |
. xx 82a9750 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment