Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/CLIHELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ will handle the installation. For the curious: It lands in
`/etc/bash_completion.d/`.

On _non_ RaspiOS-based RetroPie-Installments put the file from
`supplementary/bash-completion/Skyscraper.bash` to
`$XDG_DATA_HOME/bash-completion/completions/` (respective to
`$HOME/.local/share/bash-completion/completions/`).
`supplementary/bash-completion/Skyscraper.bash` to the file
`$XDG_DATA_HOME/bash-completion/completions/Skyscraper` (which is usually
`$HOME/.local/share/bash-completion/completions/Skyscraper`).

In either case: Open a new bash and press ++tab++ key twice to see it in action.

Expand Down
12 changes: 6 additions & 6 deletions supplementary/bash-completion/Skyscraper.bash
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Programmable completion for Skyscraper: https://gemba.github.io/skyscraper/
#
# This file is part of skyscraper. Copyright (c) 2024 Gemba @ GitHub
# This file is part of Skyscraper. Copyright (c) 2024 Gemba @ GitHub
#
# skyscraper is free software; you can redistribute it and/or modify
# Skyscraper is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# skyscraper is distributed in the hope that it will be useful,
# Skyscraper is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
Expand Down Expand Up @@ -73,7 +73,7 @@ _skyscraper() {
;;
'-s')
# scrape modules
mapfile -t COMPREPLY < <(compgen -W "arcadedb igdb mobygames openretro screenscraper thegamesdb worldofspectrum esgamelist import" -- "$cur")
mapfile -t COMPREPLY < <(compgen -W "arcadedb igdb mobygames openretro screenscraper thegamesdb zxinfo esgamelist import gamebase" -- "$cur")
return 0
;;
'-f')
Expand All @@ -95,14 +95,14 @@ _skyscraper() {
_filedir
return 0
;;
'-h' | '--help' | '--help-all' | '-v' | '--version')
'-h' | '--help' | '--help-all' | '-v' | '--version' | '--buildinfo' | '--listext' | '--searchstem-all')
return 0
;;
'--verbosity')
mapfile -t COMPREPLY < <(compgen -W "0 1 2 3" -- "$cur")
return 0
;;
'-e' | '-l' | '-m' | '-u' | '--addext' | '--query' | '--maxfails' | '--lang' | '--region' | '--includepattern' | '--exludepattern')
'-e' | '-l' | '-m' | '-u' | '--addext' | '--query' | '--maxfails' | '--lang' | '--region' | '--includepattern' | '--exludepattern' | '--searchstem')
# expect specific values
return 0
;;
Expand Down
Loading