Skip to content

fix: default target directory differs from GNU Stow #2

Description

@amqndin

Summary
The default --target path currently defaults to $HOME (or ~), whereas GNU Stow defaults to the parent directory (..) of the current working directory.

Expected Behavior
Running stor without specifying --target (or -t) should target the parent directory (..), matching GNU Stow behavior.

Actual Behavior
Running stor defaults --target to $HOME.

Motivation / Context
Aligning default flags with GNU Stow ensures drop-in compatibility and prevents unexpected file symlinking for users accustomed to standard Stow behavior. Additionally, GNU Stow allows the default --target to be specified on a per-directory basis using a .stowrc file, so matching the standard default is key for expected configuration resolution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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