oh-my-posh print <PROMPT>
Print a prompt
Arguments
Name | Description |
---|---|
PROMPT |
Options
Name | Description |
---|---|
--config, -c <CONFIG> |
|
--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' |
--eval | Use 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, -p | Print 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' |