Skip to content

Instantly share code, notes, and snippets.

@Adophilus
Last active May 15, 2023 20:49
Show Gist options
  • Save Adophilus/a7ea9198deee7200fe69558929e1d440 to your computer and use it in GitHub Desktop.
Save Adophilus/a7ea9198deee7200fe69558929e1d440 to your computer and use it in GitHub Desktop.
# this is a ps1 script, so you can actually just copy the entire contents
# of this gist and paste it into powershell (and press enter) and it should
# work.
# NOTE: # signifies comments
# install powershell from the microsoft store
# use this command to install wezterm
scoop install wezterm
# create this file ~/.config/wezterm/wezterm.lua and put the contents here into it
$url = "https://gist.github.com/Adophilus/896bd0c7ea5311ad2e1adc00ae5c15e8"
$path_to_file = "~/.config/wezterm/wezterm.lua"
# creates the file (if it does not exist)
New-Item -Path $path_to_file -ItemType File -Force
Invoke-WebRequest $url -OutFile $path_to_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment