reobin / typewritten

A minimal, lightweight, informative zsh prompt theme

Home Page:https://typewritten.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typewritten or Oh-my-zsh?

c-fitzmaurice opened this issue · comments

Hey all, thanks for a fantastic prompt, just trying to track something down.

When I misspell a command, the prompt displays 127 before the caret...is this coming from Typewritten or should I be looking elsewhere in my config?

Thanks!

image

Hey @c-fitzmaurice !

Just in case you didn't find your answer. That's the return code coming from zsh when a command fails. Its purpose is to identify the error that occured in the last command.

typewritten displays the return code only when the last command is not successful (return code = 0)

To disable that display, add the following config in your .zshrc:

export TYPEWRITTEN_DISABLE_RETURN_CODE=true

Yes! Thanks I found that just after I opened the comment. Appreciate it!