Autocompletion based on filenames in a directory

Posted by Nils Riedemann on Stack Overflow See other posts from Stack Overflow or by Nils Riedemann
Published on 2010-04-17T12:45:08Z Indexed on 2010/04/17 12:53 UTC
Read the original article Hit count: 258

Filed under:
|
|
|

Hi there,

I want to have a function in my zsh for faster accessing my todo-files. It should look inside the folder ~/tasks where i put my todo-lists and stuff. Now i want to type task p and when I hit tab, it should use the files in that directory for autocompletition. Can anyone point me some direction? Or share some snippet to work with?

Thanks

© Stack Overflow or respective owner

Related posts about zsh

Related posts about functions