Xontrib Histcpy 0.1 | Coderz Repository

xontrib-histcpy 0.1

Last updated:

0 purchases

xontrib-histcpy 0.1 Image
xontrib-histcpy 0.1 Images

Free

Languages

Categories

Add to Cart

Description:

xontribhistcpy 0.1

xontrib-histcpy
Useful aliases and shortcuts for extracting links and text from command
output history in xonsh.


Usage
If you use ptk(2)-prompts, histcpy will bind the follow shortcuts:

Alt + u: Open one of the URLs that a previous command wrote to output in your web browser
Alt + y: Copy one of the URLs to clipboard

The same functionality and more is available with the following command aliases (even when not using ptk):

getout: Copy the output of one of the last few commands to clipboard (without re-running the command - uses history)
cpyclip: Copy one of the last few URLs that a command wrote to stdout to clipboard (Alt+y keybinding)
cpyclip: Open one of the last few URLs that a command wrote to stdout in your browser (Alt+u keybinding)

Installation
Just do a
pip install xontrib-histcpy

or you can clone the repo with pip
pip install git+https://github.com/con-f-use/xontrib-histcpy

Configuration
To automatically load histcpy on startup, put
xontrib load histcpy

in your .xonshrc.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.