-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
Paul Schaeflein edited this page Jun 29, 2021
·
1 revision
MagicTooltips is configured by setting a global variables in your PowerShell profile. Below is a sample showing all of the possible settings and their default values.
$global:MagicTooltipsSettings = @{
Debug = $true
HorizontalAlignment = "Right"
VerticalOffset = -1
HorizontalOffset = 0
Providers= @{
MG = @{
NounPrefixes = "mg"
FgColor => "#32A5E6"
BgColor => "";
Template => "\uf871 {value}";
}
M365 = @{
Commands = "m365"
FgColor = "#EF5350"
BgColor = ""
Template = "\uf8c5 {value}"
}
Azure = @{
Commands = "az,terraform,pulumi,terragrunt"
FgColor = "#3A96DD"
BgColor = ""
Template = "\ufd03 {value}"
}
Kubernetes = @{
Commands = "kubectl,helm,kubens,kubectx,oc,istioctl,kogito,k9s,helmfile"
FgColor = "#AE5FD6"
BgColor = ""
Template = "\ufd31 {value}"
}
Aws = @{
Commands = "aws,awless,terraform,pulumi,terragrunt"
FgColor = "#EC7211"
BgColor = ""
Template = "\uf270 {value}"
}
}
}
Feel free to delete settings that you do not want to change. For example, if the only thing you want to change is to add k
to the list of kubernetes commands, this is a perfectly valid configuration:
$global:MagicTooltipsSettings = @{
Providers= @{
Kubernetes = @{
Commands = "kubectl,helm,kubens,kubectx,oc,istioctl,kogito,k9s,helmfile,k"
}
}
}