Skip to content
lwwdevPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cali

copies your whole terminal output to clipboard. no more dragging your mouse up 1000 lines after a test run.

cali
copyall   # same thing, if you forget the short one

how it works

windows won't let you just grab a terminal's scrollback after the fact, so instead cali starts logging your session the second your shell opens (via powershell's Start-Transcript). typing cali just grabs that log and dumps it on your clipboard.

install (windows)

stick this in your $PROFILE:

. "C:\prog\cli-tool\powershell\cali.ps1"

restart your shell (or open a new tab) and you're good. works in windows terminal, vs code, wherever.

why is this a .ps1 and not a real exe

there's a rust version in src/ too, same idea, was gonna be a proper cross-platform binary like zoxide. problem: windows Smart App Control flat out blocks unsigned exes with no download history, and a binary i compiled on my own machine has neither. no way around it short of buying a code-signing cert.

scripts don't have that problem since they run through powershell itself, which is already trusted. so that's the version that actually works right now. rust code's just sitting there for whenever i get around to signing it or porting to mac/linux.

heads up

  • only grabs stuff since your shell session started, not ancient scrollback from before
  • gets confused by fancy progress bars / TUI stuff
  • windows + powershell only for now

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages