Created
June 8, 2022 20:07
-
-
Save tinytengu/dd81a780272ba710098355a9557fe162 to your computer and use it in GitHub Desktop.
Oh My Posh Config
This file contains 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
$THEME_NAME = "takuya"; | |
$THEME_CUSTOM = 0; | |
$THEME_URL = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/default.omp.json"; # For THEME_CUSTOM = 1 | |
if($THEME_CUSTOM -eq 0) { | |
$THEME_URL = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/${THEME_NAME}.omp.json"; | |
} | |
oh-my-posh init pwsh --config "${THEME_URL}" | Invoke-Expression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment