Skip to content

Conversation

@AtifChy
Copy link
Contributor

@AtifChy AtifChy commented Aug 6, 2025

This PR add completion for chezmoi.

Generated using AI with some tweaks from me.

@fdncred
Copy link
Contributor

fdncred commented Aug 26, 2025

Can you add a readme.md in the new folder to explain what chezmoi is and where to find it?

@Paul-16098
Copy link

def "nu-complete managed" [] {
  {
    options: {
      completion_algorithm: substring
    }
    completions: ((chezmoi managed) | lines | par-each --keep-order { "~/" + ($in) })
  }
}
def "nu-complete unmanaged" [] {
  {
    options: {
      completion_algorithm: substring
    }
    completions: ((chezmoi unmanaged) | lines | par-each --keep-order { "~/" + ($in) })
  }
}

in chezmoi apply add ...target: path@"nu-complete managed"
in chezmoi forget add ...target: path@"nu-complete managed"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants