Skip to content

Commit

Permalink
Add mode to completion script
Browse files Browse the repository at this point in the history
(avoids a warning when building deb)
  • Loading branch information
aaruni96 committed Nov 17, 2023
1 parent 21326c1 commit 2b54a81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ all:

install:
install src/maps.py $(DESTDIR)$(prefix)/bin/maps
install src/completion.bash $(DESTDIR)$(prefix)/share/bash-completion/completions/maps
install -b 644 src/completion.bash $(DESTDIR)$(prefix)/share/bash-completion/completions/maps

clean:
echo "nothing to compile, so nothing to clean!"
3 changes: 2 additions & 1 deletion src/completion.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#/usr/bin/env bash
# bash completion for maps

_maps_completions()
{
local cur prev words cword
Expand Down

0 comments on commit 2b54a81

Please sign in to comment.