- Auto-completion does not work with AppImages. Document a work-around.
- Change the format of the completions file to be the same as similar
files.
AppImages have a "portable mode" which is described [here](https://docs.appimage.org/user-guide/portable-mode.html).
+**Note:**
+
+Command line auto-completion does not work with AppImages. If you are using the AppImage `--extract` option, this is a work-around.
+
+Assuming you have extracted the AppImage to `$HOME/bin/Geeqie-latest-x86_64-AppImage/`, create a symbolic link as follows:
+
+```sh
+mkdir --parents $HOME/.local/share/bash-completion/completions/
+ln --symbolic $HOME/bin/Geeqie-latest-x86_64-AppImage/squashfs-root/usr/local/share/bash-completion/completions/geeqie $HOME/.local/share/bash-completion/completions/geeqie
+```
+
### Installation scripts
Geeqie is stable and you may compile the latest version from sources.
-#!/bin/bash
+# bash completion for geeqie -*- shell-script -*-
_geeqie()
{
if [[ $cur == -* ]]
then
- # shellcheck disable=SC2207
- # shellcheck disable=SC2016
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
return