11 lines
302 B
Plaintext
11 lines
302 B
Plaintext
# Cookiecutter Autocompletion Script
|
|
|
|
# Function to generate the list of templates
|
|
_cookiecutter_templates() {
|
|
# List the contents of the $HOME/Templates directory
|
|
_files -W /home/jack/Templates
|
|
}
|
|
|
|
# Associate the function with cookiecutter command
|
|
compdef _cookiecutter_templates cookiecutter
|