所以建立一个昵称oh-my-posh --init --shell pwsh --config $env:POSH_THEMES_PATH\paradox.omp.json |Invoke-ExpressionFunction Edit-Profile{vim $profile}Function Edit-Vimrc{vim $HOME\_vimrc}Import-Module posh-gitImport-Module oh-my-posh#Set-PoshPrompt -Theme iterm2# 设置向上键为后向搜索历史...
both are running the same version and config for oh-my-posh both installed via winget both have exclusions in "Windows Security" for oh-my-posh.exe edit: both are running PowerShell Core 7.2.4 edit: both are running Windows Terminal; desktop is running 1.14.x, laptop is running 1.13.x ...
Prerequisites I have read and understand the CONTRIBUTING guide I looked for duplicate issues before submitting this one Description When I try to run the oh-my-posh command, I get the following error message: oh-my-posh: The term 'oh-my...
# # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zshalias fzf-preview="fzf --preview='bat --style=numbers --color=...
To enable the engine edit your PowerShell profile: if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force } notepad $PROFILE Append the following lines to your PowerShell profile: Import-Module posh-git Import-Module oh-my-posh Set-Theme Paradox The last command...
I am using PowerShell 7 and when I use oh-my-posh the shell gets very slow. Even when I am not in a git repository and just press enter. When I disable oh-my-posh the shell behaves normaly Theme theme: { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh...
module # https://github.com/PowerShell/PowerShell/issues/12868 # https://github.com/JanDeDobbeleer/oh-my-posh2/issues/113 $global:omp_global_sessionstate = $PSCmdlet.SessionState $poshCommand = Get-PoshCommand (& $poshCommand --init --shell=pwsh --config="$config") | Invoke-Expression...
oh-my-posh init pwsh --config 'https://gitlab.com/angelajfisher/angelas-catppuccin-for-omp/-/raw/main/angelas-catppuccin.omp.json' | Invoke-Expression $env:WAKATIME_API_KEY = "<your key>" $env:VIRTUAL_ENV_DISABLE_PROMPT = 1 Or, if using Bash, edit ~/.bashrc to include the ...
https://ohmyposh.dev/docs/segments/python Edit: fixed the issue, it seems I couldn't was able to load the correct theme/configuration foroh-my-posh, but I used the following and it worked: oh-my-posh prompt init pwsh --config"$(scoop prefix oh-my-posh)\themes\jandedobbeleer.omp....
Edit: as an aside, it's interesting that it thinks my desktop has a battery :) No need to derail the issue though. Edit2: With powershell so I'm running the same command PS H:\github\oh-my-posh3> C:\bin\posh-windows-amd64-experimental.exe --config C:\users\amol\.poshthemes\ja...