mirror of
https://github.com/jchook/ranger-zoxide.git
synced 2026-01-08 11:47:28 +08:00
Add zi as alias
This commit is contained in:
parent
af84a3d580
commit
4f97e03f60
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ def hook_init(fm):
|
|||
process.wait()
|
||||
|
||||
fm.signal_bind("cd", zoxide_add)
|
||||
fm.commands.alias("zi", "z -i")
|
||||
return hook_init_prev(fm)
|
||||
|
||||
|
||||
|
|
@ -57,3 +58,4 @@ class z(ranger.api.commands.Command):
|
|||
def tab(self, tabnum):
|
||||
results = self.query(self.args[1:])
|
||||
return ["z {}".format(x) for x in results]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue