Skip to content

Instantly share code, notes, and snippets.

View potatoqualitee's full-sized avatar
big permz energy

Chrissy LeMaire potatoqualitee

big permz energy
View GitHub Profile
Register-ArgumentCompleter -Native -CommandName notepad -ScriptBlock {
param($wordToComplete, $commandAst, $cursorPosition)
# figure out the way to get the list of words to complete
$profile | ForEach-Object {
[System.Management.Automation.CompletionResult]::new($PSItem, $PSItem, "ParameterName", $PSItem)
}
}
@potatoqualitee
potatoqualitee / asdfadsfa
Created December 24, 2020 01:40
asdasdfadf
asdfadsf
@potatoqualitee
potatoqualitee / file.json
Created December 20, 2020 14:56
current terminal
// This file was initially generated by Windows Terminal Preview 1.2.2234.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"multiLinePasteWarning": false,
# ???? Blammo ????
Get-ChildItem | gh gist create
#region issues
cd C:\github\dbatools
gh issue list
gh issue view 6886
# easy to understand visuals and navigation - RUN THIS ON PS CORE!
# What protocol to use when performing git operations. Supported values: ssh, https
git_protocol: https
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
editor:
# When to interactively prompt. This is a global config that cannot be overriden by hostname. Supported values: enabled, disabled
prompt: enabled
# A pager program to send command output to. Example value: less
pager:
# Aliases allow you to create nicknames for gh commands
aliases:
# ???? Blammo ????
Get-ChildItem | gh gist create
#region issues
cd C:\github\dbatools
gh issue list
gh issue view 6886
# easy to understand visuals and navigation - RUN THIS ON PS CORE!
# What protocol to use when performing git operations. Supported values: ssh, https
git_protocol: https
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
editor:
# When to interactively prompt. This is a global config that cannot be overriden by hostname. Supported values: enabled, disabled
prompt: enabled
# A pager program to send command output to. Example value: less
pager:
# Aliases allow you to create nicknames for gh commands
aliases:
@potatoqualitee
potatoqualitee / settings.json
Created July 23, 2020 14:16
My Windows Terminal Preview settings.json File
// This file was initially generated by Windows Terminal Preview 1.1.1812.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@potatoqualitee
potatoqualitee / retrowave.json
Last active July 24, 2020 12:47
retrowave theme for windows terminal
{
// this theme created and commented for powershell
// based off of 1984 unbolded vs code theme
"name" : "retrowave",
// entire background
"background" : "#070825",
// default text
"foreground" : "#46BDFF",
//quoted values
"cyan" : "#df81fc",
@potatoqualitee
potatoqualitee / settings.json
Created July 22, 2020 08:54
windows terminal
// This file was initially generated by Windows Terminal Preview 1.1.1812.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",