Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 3.75 KB

README.md

File metadata and controls

81 lines (60 loc) · 3.75 KB

Meta package that installs group of ergonomic xontribs in xonsh shell.

If you like the idea click ⭐ on the repo and stay tuned.

Default xontribs

By default ergopack contains xontribs that do not change the prompt or commands processing. The xontribs that do more significant changes are in PyPi "extras".

xpip install -U xontrib-ergopack
  • argcomplete - Tab completion of python and xonsh scripts.
  • back2dir - Return to the most recently used directory when starting xonsh shell.
  • output_search - Get words from the previous command output for the next command. Not activated by default.
  • pipeliner - Let your pipe lines flow thru the Python code.
  • sh - Paste and run commands from bash, zsh, fish, tcsh in xonsh shell.
  • autoxsh - Automatically execution of .autoxsh xonsh script after entering into the directory. Not activated by default.
  • history_encrypt - History backend that can encrypt the xonsh shell commands history. Not activated by default.
  • clp - Copy output to clipboard. Cross-platform.
  • cmd-durations - Show long running commands durations in prompt with option to send notification when terminal is not focused.

Onepath xontribs

xpip install -U 'xontrib-ergopack[onepath]'
  • onepath - Associate files with app and run it without preceding commands.
  • All default xontribs.

Prompt xontribs

xpip install -U 'xontrib-ergopack[prompt]'
  • prompt_bar - The bar prompt for xonsh shell with customizable sections.
  • prompt_starship - Starship cross-shell prompt in xonsh shell.
  • All default xontribs.

Dev xontribs

xpip install -U 'xontrib-ergopack[dev]'

All xontribs

xpip install -U 'xontrib-ergopack[onepath,prompt,dev]'

Usage

Load default xontribs:

xontrib load ergopack

Links