Skip to content

macOS: cannot store modify #64

Description

@BA88

I am unable to get started.
macOS 15.3.1 Sequoia

bash --version

GNU bash, version 5.3.9(1)-release (aarch64-apple-darwin24.6.0)

store version

store version v2.0.0-dev

test files in $HOME

ll ~ | egrep test0

  -rw-r--r--@   1 username    34B May 12 04:16 .test01
  -rw-r--r--@   1 username    13B May 12 04:12 .test02
  -rw-r--r--@   1 username    13B May 12 04:12 .test03
  -rw-r--r--@   1 username    12B May 12 04:12 test04
  -rw-r--r--@   1 username    12B May 12 04:12 test05

initialize store

store init

Initialized store config at /Users/username/dotfiles/.store/config.yaml

cat .store/config.yaml

stores: {}

create store directory 'ABC'

store add ABC

Created directory /Users/username/dotfiles/ABC
Added ABC to config (no target set)

cat .store/config.yaml

stores:
    ABC: {}

ll ABC

  total 0
  drwxr-xr-x@ 2 username    64B May 12 05:32 .
  drwxr-xr-x@ 7 username   224B May 12 05:32 ..

store modify ABC --add-file ~/.test01

Error: store "ABC" not found in config

cat .store/config.yaml

  stores:
      ABC: {}

store add ABC --target ~/.test01

The following files conflict with store symlinks:
  /Users/username/.test01 (file → will be moved to /Users/username/dotfiles/ABC)

Move these files into the store and create symlinks? [y/N] n
Error: aborted due to unresolved conflicts

Am I misunderstanding the terminology store and target?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions