Get the output from previous shell commands, if you use tmux
Project description
old-stdout
@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️
Get the old output from shell commands, if you use tmux.
This is vibe-coded but will become less so over time.
Motivation
It is quite natural to want to do thigns with the output of a command that you just run without having to rerun. If you have programmatic access to your shell scrollback, by using tmux this allows you to get output.
Alternatives and prior work
You could collect the outputs of previous commands into files using tee.
You could use something like jupyter which matains history.
Usage
Use tmux.
oldoutwill show the output of the previous command.oldout 2shows you the output from the penultimate command (etc).outdiffshows the difference between the last two outputs
You can use --command with oldout to include the command.
About me
I am @readwithai. I create tools for reading, research and agency sometimes using the markdown editor Obsidian.
I also create a stream of tools that are related to carrying out my work.
I write about lots of things - including tools like this - on X. My blog is more about reading and research and agency.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oldout-1.0.0.tar.gz.
File metadata
- Download URL: oldout-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ecb3ea379f2a0be8a78ef5916f150da3eb1888af5c64ffb617bb878df3dde5b
|
|
| MD5 |
9d57cf2c0ab5de99160557d474ce4889
|
|
| BLAKE2b-256 |
4bec829228ca2862f861d14a8becfa8ccb4624e60e25b2ac231fb695de92be57
|
File details
Details for the file oldout-1.0.0-py3-none-any.whl.
File metadata
- Download URL: oldout-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eed2edc3a384fdb504e7fdfb9715e8bf826ecb441220da73722b5bc3c12ea290
|
|
| MD5 |
c605b30e6e32e6512b03e7c29d0ae465
|
|
| BLAKE2b-256 |
ebc255967af1e1232b9d6f6fd3f63dad66a75954d571e573f8fdb7c34eff9b43
|