This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |