Posted By

skyboy on 03/24/11


Tagged

bashgitautocomplete


Versions (?)

first step for competion from git status output


 / Published in: Bash
 

  1. compgen -W "`git status | grep "^#\s*modified:" | php -R 'echo preg_replace("%^#[^:]*:\s*([^\s].*)$%", "$1", $argn) . "\n";'`" -- ass

Report this snippet  

You need to login to post a comment.