add preview and configuration saving to prompt theming

This commit is contained in:
fatalerrors
2026-05-21 11:43:15 +02:00
parent c92ca8a51f
commit f923dcb758
2 changed files with 236 additions and 19 deletions

View File

@@ -30,10 +30,12 @@ _complete_set_theme()
COMPREPLY=()
return 0
;;
-p|--preview|-S|--save)
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $(compgen -W "-h --help -l --list" -- "$cur") )
COMPREPLY=( $(compgen -W "-h --help -l --list -p --preview -S --save" -- "$cur") )
return 0
fi