Skip to content

[MOVED] A nix library to simplify packaging shell completions and providing a test environment for these completions.

License

Notifications You must be signed in to change notification settings

jraygauthier/nsf-shell-complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

IMPORTANT: Deprecated location. Moved to nsf-shc.

A nix library to simplify packaging shell completions and providing a test environment for these completions.

Currently used as part of nixos-secure-factory, hence the nsf- prefix. However, this can perfectly be used as a standalone library / tool.

Features

Script fragments providing the ability to:

  • Install to $out the bash completion for a set of named [click] executable.
  • Build / export XDG_DATA_DIRS for set of nix packages. This allow to make available bash completions from a nix shell provided that the dynamic bash completion loader from the bash-completion package has been sourced.
  • Ensure that the dynamic bash completion loader from the bash-completion package is sourced.

Contributing

Contributing implies licensing those contributions under the terms of LICENSE, which is an Apache 2.0 license.

About

[MOVED] A nix library to simplify packaging shell completions and providing a test environment for these completions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published