Skip to content

Commit

Permalink
snap: Support bash completion
Browse files Browse the repository at this point in the history
Refer-to: Scriptlets <https://docs.snapcraft.io/scriptlets/4892>
Refer-to: Tab completion for snaps <https://docs.snapcraft.io/tab-completion-for-snaps/2261>
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
  • Loading branch information
brlin-tw committed Mar 29, 2019
1 parent 4d17feb commit 6612081
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,15 @@ parts:
$SNAPCRAFT_STAGE/scriptlets/selective-checkout
plugin: python
build-packages:
- make
python-packages:
- youtube_dl
override-build: |
# build manpages and bash completion
make
snapcraftctl build
ffmpeg:
plugin: nil
Expand All @@ -99,6 +106,7 @@ apps:
command-chain:
- bin/gallery-dl-launch
command: bin/gallery-dl
completer: etc/bash_completion.d/gallery-dl.bash_completion
environment:
LANG: C.UTF-8
LC_ALL: C.UTF-8
Expand Down

0 comments on commit 6612081

Please sign in to comment.