mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
chore(devcontainer): use correct image and settings
This commit is contained in:
parent
acc884ccbd
commit
92927638bf
|
@ -52,9 +52,6 @@ RUN pwsh -Command Install-Module posh-git -Scope AllUsers -Force; \
|
|||
# add the oh-my-posh path to the PATH variable
|
||||
ENV PATH "$PATH:/home/${USERNAME}/bin"
|
||||
|
||||
# Can be used to override the devcontainer prompt default theme:
|
||||
ENV POSH_THEME="/workspaces/oh-my-posh/themes/jandedobbeleer.omp.json"
|
||||
|
||||
# Deploy oh-my-posh prompt to Powershell:
|
||||
COPY Microsoft.PowerShell_profile.ps1 /home/${USERNAME}/.config/powershell/Microsoft.PowerShell_profile.ps1
|
||||
|
||||
|
|
|
@ -6,6 +6,4 @@ Import-Module Terminal-Icons
|
|||
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
|
||||
|
||||
$env:POSH_GIT_ENABLED=$true
|
||||
oh-my-posh init pwsh --config $env:POSH_THEME | Invoke-Expression
|
||||
|
||||
# NOTE: You can override the above env var from the devcontainer.json "args" under the "build" key.
|
||||
oh-my-posh init pwsh | Invoke-Expression
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
# Activate oh-my-posh prompt:
|
||||
oh-my-posh init fish --config $POSH_THEME | source
|
||||
|
||||
# NOTE: You can override the above env vars from the devcontainer.json "args" under the "build" key.
|
||||
oh-my-posh init fish | source
|
||||
|
|
|
@ -8,10 +8,7 @@
|
|||
// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17
|
||||
// Append -bullseye or -buster to pin to an OS version.
|
||||
// Use -bullseye variants on local arm64/Apple Silicon.
|
||||
"VARIANT": "1-1.22.3-bullseye",
|
||||
|
||||
// Options:
|
||||
"POSH_THEME": "/workspaces/oh-my-posh/themes/jandedobbeleer.omp.json",
|
||||
"VARIANT": "1-1.22-bullseye",
|
||||
|
||||
// Override me with your own timezone:
|
||||
"TZ": "UTC",
|
||||
|
@ -54,6 +51,7 @@
|
|||
"terminal.integrated.defaultProfile.linux": "pwsh",
|
||||
"terminal.integrated.defaultProfile.windows": "pwsh",
|
||||
"terminal.integrated.defaultProfile.osx": "pwsh",
|
||||
"terminal.integrated.shellIntegration.enabled": false,
|
||||
"tasks.statusbar.default.hide": true
|
||||
},
|
||||
"extensions": [
|
||||
|
|
Loading…
Reference in a new issue