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
#:sdk Microsoft.NET.Sdk.Web | |
using System.IO; | |
using System.Text; | |
using System.Text.Json; | |
using System.Collections.Generic; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.Filters; |
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
if (-not (Get-Command oh-my-posh -ErrorAction SilentlyContinue)) { | |
winget install --id JanDeDobbeleer.OhMyPosh --silent --accept-package-agreements --accept-source-agreements | |
} | |
$posh_theme="kali" | |
oh-my-posh --init --shell pwsh --config $env:POSH_THEMES_PATH\$posh_theme.omp.json | Invoke-Expression | |
function profile { | |
code $PROFILE | |
} |