Skip to content
This repository has been archived by the owner on Sep 10, 2018. It is now read-only.

A bash completion script for the Kohana Minion module

Notifications You must be signed in to change notification settings

evanpurkhiser/minion-bash-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Kohana Minion module Bash Autocomplete

This bash autocompletion script will complete the task names for Kohana Minion module using the minion bash script.

Task caching

After completing a single task name, the list of tasks will be cached (per minion script path) to speed up the autocompletion process. The downside of this is that is if you add more tasks your current bash session will not have the updated minion tasks in it's cache.

A simple work around to this would be to unset the cache varaible

$ _minion_tasks_list=()

Or just reload your console

Installation

Simply place the auto-completion script into your /etc/bash_completion.d/ directory.

sudo wget https://raw.github.com/EvanPurkhiser/minion-bash-completion/master/minion -P /etc/bash_completion.d/

Or if you don't want to install it system wide you can just source it in your bashrc

source ~/path/to/minion-completion

About

A bash completion script for the Kohana Minion module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages