Prompt formatter API¶

Modules that provides FORMATTER_DICT.

  • Base prompt formatter (xonsh.prompt.base)
  • CWD related prompt formatter (xonsh.prompt.cwd)
  • Virtualenv prompt formatter (xonsh.prompt.env)
  • Informative git status prompt formatter (xonsh.prompt.gitstatus)
  • Jobs prompt formatter (xonsh.prompt.job)
  • Version control branch info prompt formatter (xonsh.prompt.vc)

Logo

xonsh

Navigation

  • the xonsh shell
  • Comparison
  • Installation
  • Dependencies
  • Development Dependencies
  • News & Media
  • Guides
  • Config Files and Settings
  • Contributing
  • Contact Us
  • Helpful Links
  • Development Spiral
  • the xonsh shell
  • Comparison
  • Installation
  • Dependencies
  • Development Dependencies
  • News & Media
  • Guides
  • Config Files and Settings
  • Contributing
  • Development Spiral
  • API
    • Lexer (xonsh.lexer)
    • Parser (xonsh.parser)
    • Abstract Syntax Tree (xonsh.ast)
    • Compilation, Evaluation, & Execution (xonsh.execer)
    • Import Hooks (xonsh.imphooks)
    • Built-Ins (xonsh.built_ins)
    • Environment (xonsh.environ)
    • Aliases (xonsh.aliases)
    • Directory Stack (xonsh.dirstack)
    • Job Control (xonsh.jobs)
    • Python Procedures as Subprocess Commands (xonsh.proc)
    • Object Inspectors (xonsh.inspectors)
    • Xonsh History API
    • Tab Completer (xonsh.completer)
    • Completers API
    • Prompt formatter API
      • Base prompt formatter (xonsh.prompt.base)
      • CWD related prompt formatter (xonsh.prompt.cwd)
      • Virtualenv prompt formatter (xonsh.prompt.env)
      • Informative git status prompt formatter (xonsh.prompt.gitstatus)
      • Jobs prompt formatter (xonsh.prompt.job)
      • Version control branch info prompt formatter (xonsh.prompt.vc)
    • Main Shell Command Prompt (xonsh.shell)
    • Base Shell Class (xonsh.base_shell)
    • Readline Shell (xonsh.readline_shell)
    • Prompt Toolkit Shell (xonsh.ptk.shell)
    • Prompt Toolkit History Object (xonsh.ptk.history)
    • Prompt Toolkit Completer (xonsh.ptk.completer)
    • Prompt Toolkit Key Bindings (xonsh.ptk.key_bindings)
    • Pretty printing (xonsh.pretty)
    • Replay History (xonsh.replay)
    • History Diff’er (xonsh.diff_history)
    • Core Utilities API
    • Events (xonsh.events)
    • Tools (xonsh.tools)
    • Platform-specific constants and implementations (xonsh.platform)
    • JSON Utilities (xonsh.jsonutils)
    • Lazy JSON Files (xonsh.lazyjson)
    • Lazy & Self-destructive Objects (xonsh.lazyasd)
    • Open Python Files (xonsh.openpy)
    • Foreign Shell Tools (xonsh.foreign_shells)
    • Commands Cache (xonsh.commands_cache)
    • Tracer (xonsh.tracer)
    • Command Line Interface (xonsh.main)
    • Color Tools (xonsh.color_tools)
    • Pygments Hooks (xonsh.pyghooks)
    • Jupyter Kernel (xonsh.jupyter_kernel)
    • Wizard Making Tools (xonsh.wizard)
    • Xonsh Configuration Utility (xonsh.xonfig)
    • Compiling and Caching of Xonsh Code (xonsh.codecache)
    • Context Managers for Xonsh (xonsh.contexts)
    • Matplotlib Hooks (xontrib.mplhooks)
    • Vox (xontrib.voxapi)
  • Contact Us
  • Helpful Links

Related Topics

  • Documentation overview
    • the xonsh shell
      • Xonsh API
        • Previous: Completion Xompletions (xonsh.completers.xompletions)
        • Next: Base prompt formatter (xonsh.prompt.base)

Quick search

©2018, Anthony Scopatz. | Powered by Sphinx 2.3.1 & Alabaster 0.7.10 | Page source