1
0
mirror of https://gitlab.com/ceda_ei/wish synced 2025-07-07 00:36:53 +02:00
wish/docs/plugins/exitcodesmiley.md
2023-12-06 18:38:01 +05:30

20 lines
641 B
Markdown

# Exit Code Smiley
Shows a happy/sad smiley face based on whether the last command ran successfully or not.
## Add to wish
```ini
[plugin]
name = exit_code_smiley
```
## Config options
| Key | Meaning | Default |
|--------------|--------------------------------------------------------------|---------|
| pass | Text to show when the last command ran successfully. | :) |
| fail | Text to show when the last command failed. | :( |
| hide_on_pass | Whether to hide the output if command executes successfully. | 0 |