---
title: "atuin: limit scope to current directory"
url: https://perrotta.dev/2025/12/atuin-limit-scope-to-current-directory/
last_updated: 2026-02-07
---


[Previously]({{< ref "2025-12-01-atuin-delete-history-entries" >}}),
[previously]({{< ref "2025-11-30-atuin" >}}).

Pressing `C-r` opens the global history search by default.

To limit the history lookup to the current directory only, keep pressing `C-r`.

The scope will cycle through:

Global > Host > Session > Workspace > Directory

This makes it easier to find commands previously executed in a given directory.

