Skip to content

Instantly share code, notes, and snippets.

View eodomo's full-sized avatar

Eric Olerud eodomo

  • 20:10 (UTC -04:00)
View GitHub Profile
@eodomo
eodomo / .wezterm.lua
Created February 1, 2025 18:16
WezTerm config
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- This will hold the configuration.
local config = wezterm.config_builder()
-- Specify configuration
config.color_scheme = "catppuccin-mocha"
config.default_prog = { "pwsh", "-NoLogo" }
config.launch_menu = {
# Place this file at C:\Program Files\PowerShell\7\Microsoft.PowerShell_profile.ps1 to apply to all users on current computer
# Alt path: $PSPATH\Microsoft.PowerShell_profile.ps1
function Prompt {
$path = $executionContext.SessionState.Path.CurrentLocation.Path
$p = $path
while ($p -ne "") {
if($p -eq $HOME) { $path = $path.Replace($HOME,"~"); break}
$p = Split-Path $p