diff --git a/__init__.py b/__init__.py index 0bf852f..15f9d83 100644 --- a/__init__.py +++ b/__init__.py @@ -39,7 +39,7 @@ class z(ranger.api.commands.Command): def query(self, args): try: - zoxide = self.fm.execute_command(f"zoxide query {' '.join(self.args[1:])}", + zoxide = self.fm.execute_command(f"zoxide query --exclude \"$PWD\" {' '.join(self.args[1:])}", stdout=PIPE ) stdout, stderr = zoxide.communicate()