Skip to content

Siecje/xontrib-prompt-ret-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xontrib Prompt Ret Code

** This has been merged into xonsh itself. Please do not use this version! **

Modify the xonsh prompt to include the return code of the last failed command.

cody@cody-ubuntu16 ~ $ git status
fatal: Not a git repository (or any of the parent directories): .git
cody@cody-ubuntu16 ~ [128]$ 

Demo

Install

pip install xontrib-prompt-ret-code
xontrib load prompt_ret_code

Add this line to your ~/.xonshrc so it will automatically be loaded.

xontrib load prompt_ret_code

License

MIT

About

Adds return code info to xonsh prompt. This has been merged into xonsh itself.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published