Skip to content

if with shell function satisfying interface #333

@pafi-code

Description

@pafi-code

Is there the possibility to make dot files optional via user input?
If I'm right currently there is no option to ask for user input in the if flag right? If yes please let me know how to do it! :)
Would be cool if one could put a function for the if flag, e.g.

-link:
  ~/.something:
    path: configs/somewhere
    if: 'checkUserInput() {
          # get user input
          # if input yes return true
          # else false
        }'

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