add preview and configuration saving to prompt theming
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user