Skip to content

Instantly share code, notes, and snippets.

View HeyItsGilbert's full-sized avatar

Gilbert Sanchez HeyItsGilbert

View GitHub Profile
@HeyItsGilbert
HeyItsGilbert / ShellIntegration.ps1
Created July 17, 2023 23:12 — forked from mdgrs-mei/ShellIntegration.ps1
Adds escape codes to the prompt for the shell integration
# Reference:
# https://devblogs.microsoft.com/commandline/shell-integration-in-the-windows-terminal/
param
(
[ValidateSet('WindowsTerminal', 'ITerm2')]
[String]$TerminalProgram = 'WindowsTerminal'
)
# Restore hooked functions in case this script is executed accidentally twice
homeassistant:
container_name: hass-core
restart: unless-stopped
image: homeassistant/home-assistant:0.113.3
#network_mode: host
networks:
- t2_proxy
- iot
ports:
- "8123:8123"

Keybase proof

I hereby claim:

  • I am HeyItsGilbert on github.
  • I am heyitsgilbert (https://keybase.io/heyitsgilbert) on keybase.
  • I have a public key whose fingerprint is B402 E660 D362 95EC F092 CB08 F472 C90E 263B 7EF9

To claim this, I am signing this object: