rc/tools/git: add basic completion for git-grep
This commit is contained in:
parent
01fd6552af
commit
cfd7d8e361
|
@ -74,7 +74,7 @@ define-command -params 1.. \
|
||||||
case "$1" in
|
case "$1" in
|
||||||
commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;;
|
commit) printf -- "--amend\n--no-edit\n--all\n--reset-author\n--fixup\n--squash\n"; git ls-files -m ;;
|
||||||
add) git ls-files -dmo --exclude-standard ;;
|
add) git ls-files -dmo --exclude-standard ;;
|
||||||
rm) git ls-files -c ;;
|
rm|grep) git ls-files -c ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user