Skip to content

yurenchen000/terminator-trzsz-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Terminator Trzsz Plugin

about trzsz

https://github.com/trzsz/trzsz-go
with awesome trzsz-go, you can got lrzsz and trzsz support for terminator

Just run trzsz -d bash, then it will Take over your zmodem file transmit from stdio.
you can use traditional rz sz cmd now (Or the more modern trz tsz cmd with Progress Bar)

And you can set it as terminator default shell:
Terminator Preferences > Profile > Command > Custom Command: trzsz --dragfile bash

dragfile support

BUT,
terminator lack of dragfile support, so this plugin come..
It only add dragfile support for trzsz --dragfile bash

requirements

only tested with terminator 2.1.1+, on ubuntu 22 lts

Install

  1. Copy trzsz_dragfile.py to ~/.config/terminator/plugins/
  2. Terminator Preferences > Plugins: enable TrzszDrag

Usage

this only add dragfile support for Trzsz.

just dragfile to terminator


Dev Note

this plugin based on TerminalHandler, It is the third type of plugin that is implemented through heavy hacking

cause terminator offically only support two type of plugins:

  • plugin.URLHandle
  • plugin.MenuItem which makes plugin functionality very limited.

After some exploration, I implement this new plugin type,
which improved the plugin capabilities.


Another plugin with shortcut support in terminator plugin
(through hacking way, cause orignal plugin no such capbility)
https://github.com/yurenchen000/terminator-hints-plugin

About

terminator plugin for trzsz dragfile support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages