Skip to content

Instantly share code, notes, and snippets.

@alandsilva26
Last active August 11, 2021 10:07
Show Gist options
  • Select an option

  • Save alandsilva26/ce1eb994edad22c278fc63d349b0d6ef to your computer and use it in GitHub Desktop.

Select an option

Save alandsilva26/ce1eb994edad22c278fc63d349b0d6ef to your computer and use it in GitHub Desktop.
Windows Terminal Configuration file (paste raw)
oh-my-posh --init --shell pwsh --config "C:\Users\aland\scoop\apps\oh-my-posh\current\themes\mytheme.omp.json" | Invoke-Expression
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": false,
"segments": [
{
"foreground": "#af77f7",
"properties": {
"prefix": "",
"style": "full"
},
"style": "plain",
"type": "path"
},
{
"type": "git",
"style": "plain",
"foreground": "#43CCEA",
"properties": {
"prefix": " ",
"branch_icon": "\uE0A0 "
}
},
{
"type": "executiontime",
"style": "plain",
"foreground": "#A3BE8C",
"properties": {
"style": "austin"
}
}
],
"type": "prompt"
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#43D426",
"properties": {
"prefix": "\u276f",
"display_exit_code": false,
"error_color": "#BF616A",
"always_enabled": true
}
}
]
}
]
}
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command":
{
"action": "newTab"
},
"keys": "ctrl+t"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
},
{
"command":
{
"action": "nextTab"
},
"keys": "ctrl+pgdn"
},
{
"command": "closeTab",
"keys": "ctrl+w"
},
{
"command":
{
"action": "prevTab"
},
"keys": "ctrl+pgup"
}
],
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{36d967b8-cb74-5d00-862a-a3a2409bc190}",
"profiles":
{
"defaults":
{
"acrylicOpacity": 0.90000000000000002,
"useAcrylic": true,
"fontFace": "CaskaydiaCove NF"
},
"list":
[
{
"colorScheme": "Argonaut",
"commandline": "powershell.exe",
"fontFace": "CaskaydiaCove NF",
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell",
"startingDirectory": "C:\\Users\\aland\\Documents\\work"
},
{
"colorScheme": "Argonaut",
"commandline": "powershell.exe",
"guid": "{9ee4cf8b-711b-4590-9c9b-1758c5b9e6d8}",
"hidden": false,
"name": "htdocs",
"startingDirectory": "C:\\xampp\\htdocs"
},
{
"colorScheme": "Argonaut",
"commandline": "powershell.exe",
"guid": "{64723012-6012-4cb7-8515-6f31b48cebb9}",
"hidden": false,
"name": "Minecraft Server",
"startingDirectory": "C:\\Users\\aland\\Desktop\\MinecraftServer"
},
{
"colorScheme": "ayu",
"commandline": "cmd.exe",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"colorScheme": "Argonaut",
"commandline": "PowerShell.exe",
"name": "Work Drive",
"startingDirectory": "D:\\work",
"tabTitle": "Work Drive (D:)"
},
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl"
}
]
},
"schemes":
[
{
"background": "#0E1019",
"black": "#232323",
"blue": "#008DF8",
"brightBlack": "#444444",
"brightBlue": "#0092FF",
"brightCyan": "#67FFF0",
"brightGreen": "#ABE15B",
"brightPurple": "#9A5FEB",
"brightRed": "#FF2740",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFD242",
"cursorColor": "#FFFFFF",
"cyan": "#00D8EB",
"foreground": "#FFFAF4",
"green": "#8CE10B",
"name": "Argonaut",
"purple": "#6D43A6",
"red": "#FF000F",
"selectionBackground": "#FFFFFF",
"white": "#FFFFFF",
"yellow": "#FFB900"
},
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#012456",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell Powershell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cursorColor": "#4F525D",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"selectionBackground": "#FFFFFF",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#002B36",
"cyan": "#2AA198",
"foreground": "#657B83",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#D3D7CF",
"green": "#4E9A06",
"name": "Tango Dark",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#FFFFFF",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#000000",
"cyan": "#06989A",
"foreground": "#555753",
"green": "#4E9A06",
"name": "Tango Light",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#C0C0C0",
"green": "#008000",
"name": "Vintage",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
},
{
"background": "#0F1419",
"black": "#000000",
"blue": "#36A3D9",
"brightBlack": "#323232",
"brightBlue": "#68D5FF",
"brightCyan": "#C7FFFD",
"brightGreen": "#EAFE84",
"brightPurple": "#FFA3AA",
"brightRed": "#FF6565",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFF779",
"cursorColor": "#FFFFFF",
"cyan": "#95E6CB",
"foreground": "#E6E1CF",
"green": "#B8CC52",
"name": "ayu",
"purple": "#F07178",
"red": "#FF3333",
"selectionBackground": "#FFFFFF",
"white": "#FFFFFF",
"yellow": "#E7C547"
}
]
}
@alandsilva26
Copy link
Author

alandsilva26 commented Aug 11, 2021

Added configuration file for oh-my-posh

@alandsilva26
Copy link
Author

Powershell config location - C:\Users\aland\Documents\WindowsPowerShell

@alandsilva26
Copy link
Author

Added configuration file for oh-my-posh

Required font - CascadiaCode from nerd fonts

https://www.nerdfonts.com/font-downloads

@alandsilva26
Copy link
Author

oh-my-posh config file location - C:\Users\aland\scoop\apps\oh-my-posh\current\themes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment