mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
Generalize make_mercurial_completions.fish a bit so it can be used with darcs as well. Add make targets for creating darcs/hg completions.
darcs-hash:20070125132836-ac50b-0e7a728e4be2386d696094a414a1c8bcaee771fc.gz
This commit is contained in:
10
Makefile.in
10
Makefile.in
@@ -819,6 +819,16 @@ fish.spec: fish.spec.in
|
||||
./config.status
|
||||
|
||||
|
||||
#
|
||||
# Completion files which are autogenerated using various scripts
|
||||
#
|
||||
|
||||
share/completions/darcs.fish: make_mercurial_completions.fish
|
||||
./make_mercurial_completions.fish darcs 'complete -c darcs -n "not __fish_use_subcommand" -a "(test -f _darcs/prefs/repos; and cat _darcs/prefs/repos)" --description "Darcs repo"' >$@
|
||||
|
||||
share/completions/hg.fish: make_mercurial_completions.fish
|
||||
./make_mercurial_completions.fish hg >$@
|
||||
|
||||
#
|
||||
# Create .rpm file for the current systems architecture and an
|
||||
# .src.rpm file.
|
||||
|
||||
Reference in New Issue
Block a user