1
0

Update home/.config/ranger/commands.py

This commit is contained in:
Jeff Lance 2024-03-08 20:45:17 +01:00
parent 34ec2771f8
commit b85a187eb0

View File

@ -12,8 +12,6 @@ from plugins.ranger_udisk_menu.mounter import mount
from tmsu import Tmsu
import os
import ranger.api
import ranger.core.linemode
tmsu = Tmsu.findTmsu()
@ -126,6 +124,10 @@ class tmsu_ls(Command):
self.fm.notify(tags)
import ranger.api
import ranger.core.linemode
@ranger.api.register_linemode # It may be used as a decorator too!
class MyLinemode(ranger.core.linemode.LinemodeBase):
name = "tmsu_linemode"