Workspace labels

Filtering by workspace is great, but sometimes I check out repositories into different directories on different PCs.
It would be neat if you could do something like atuin label-workspace my-code-repo to attach a label to your current workspace directory, local to the current client. Filtering by workspace would then look if there is a label, and if so find all results for workspaces with the same label.

Example:

on PC1:

cd ~/src
git clone https://github.com/atuinsh/atuin.git
cd atuin
atuin label-workspace atuin
ls crates

on PC2:

git clone https://github.com/atuinsh/atuin.git atuin-source
cd atuin-source
atuin label-workspace atuin
# searching in "workspace" mode finds `ls crates`

(Obviously plenty of room for bikeshedding the term “label”/“tag”/“name” and the actual command)

1 Like