8000 Allow using `~` or `$HOME` to represent to home directory · Issue #3 · Kirottu/kidex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow using ~ or $HOME to represent to home directory #3
Open
@00-kat

Description

@00-kat

Right now:

WatchDir(
      path: "/home/yourcoolusername/Documents",
)

Instead, why not have:

WatchDir(
      path: "~/Documents",
)

or

WatchDir(
      path: "$HOME/Documents",
)

(preferably the first one)

If you copy your config to another machine which has a different username (or change your username on your current machine), there's one less file to worry about.

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

      0