oh-my-posh print <PROMPT>

Print a prompt

Arguments

NameDescription
PROMPT

Options

NameDescription
--config, -c <CONFIG>
  • Persistent ⚖
--terminal-width, -w <WIDTH>The terminal width, example usage: 'oh-my-posh print primary --terminal-width 200'
--command <COMMAND>The current command for tooltips, example usage: 'oh-my-posh print tooltip --command az'
--error, -e <ERROR CODE>The last exit code, example usage: 'oh-my-posh print primary --error 127'
--evalUse eval to render the prompt, example usage: 'oh-my-posh print primary --eval'
--execution-time <EXECUTION TIME>Use last command execution time in millis, example usage: 'oh-my-posh print primary --execution-time 200'
--plain, -pPrint a prompt without ASNI codes, example usage: 'oh-my-posh print primary --plain'
--pswd <POWERSHELL WORKING DIRECTORY>The current working directory according to PowerShell, example usage: 'oh-my-posh print primary --pswd C:\Users\user\Documents'
--pwd <WORKING DIRECTORY>The current working directory, example usage: 'oh-my-posh print primary --pwd /home/user/Documents'
--shell <SHELL>The current shell, example usage: 'oh-my-posh print primary --shell fish'
--stack-count <NUM>The directory stack count, example usage: 'oh-my-posh print primary --stack-count 1'