mirror of
https://github.com/zplug/zplug
synced 2025-08-30 01:30:43 +02:00
Since there is not much point in prompting (i.e. it's not the end of the world if you delete your cache by mistake), the default behavior becomes the equivalent of --force but without the message.
20 lines
276 B
Bash
20 lines
276 B
Bash
#!/bin/zsh
|
|
|
|
__import "print/print"
|
|
|
|
local arg
|
|
|
|
while (( $# > 0 ))
|
|
do
|
|
arg="$1"
|
|
case "$arg" in
|
|
-*|--*)
|
|
__zplug::print::print::die "[zplug] $arg: Unknown option\n"
|
|
return 1
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
rm -f "$ZPLUG_CACHE_FILE"
|