Giter VIP home page Giter VIP logo

go-task-completions's Introduction

go-task completions

Zsh completions for go-task

asciicast

Usage

Completion for task

task <TAB>

Completion for options

task -<TAB>

Installation

Clone the repository inside your oh-my-zsh repo:

git clone https://github.com/sawadashota/go-task-completions.git ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/task

Enable it in your .zshrc by adding it to your plugin list and reloading the completion:

plugins=(… task)
autoload -U compinit && compinit

go-task-completions's People

Contributors

ghostsquad avatar lovromazgon avatar makon avatar sawadashota avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

go-task-completions's Issues

Unclear that this only works if tasks have a description

I've just installed this and at first thought it wasn't working because none of my tasks had descriptions.

Only after going through the code I realized that I had to add those to make it work ;)

Maybe it would be great to point that out in the README, otherwise works like a charm!

Not working when reopening terminal

In my case the completions do only work when I am explicitly executing the autoload in the terminal:

r3@r3-MS-7681  ~  autoload -U compinit && compinit      ✔  1021  22:25:49
r3@r3-MS-7681  ~  task --force                          ✔  1021  22:26:50
--dir      --init     --status   --watch    -h         -s                  
--force    --list     --verbose  -d         -i         -v                  
--help     --silent   --version  -f         -l         -w

but when I am reopening the terminal and trying to do it again without executing the autoload it does not work

Global taskfile support

Hello there!

I was impressed by Task features, so decided to get rid of all my shell scripts and substitute them with few taskfiles.

Because of that I've got a requirement to use some global Taskfile, which included different case-specific ones and at that point autocomplete is not working at all.

I fixed it and added some example to README.md.

Would be nice if you accept my PR. How can I bring it?
thx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.