AutoYADM commit: 2025-04-21 13:15:05
This commit is contained in:
parent
974ffab68b
commit
ff79baa67f
1 changed files with 9 additions and 0 deletions
|
@ -2,4 +2,13 @@ function nv --description 'nvchecker script'
|
||||||
nvchecker
|
nvchecker
|
||||||
echo Changes:\n
|
echo Changes:\n
|
||||||
nvcmp
|
nvcmp
|
||||||
|
echo \nDo you want to mark the updates as applied?
|
||||||
|
set -l prompt Type UPDATE to run `nvtake`, anything else to quit': '
|
||||||
|
read -l response --prompt-str="$prompt"
|
||||||
|
# clear prompt
|
||||||
|
printf "\033[1A\033[2K"
|
||||||
|
printf "\033[1A\033[2K"
|
||||||
|
if test "$response" = UPDATE; or return 0
|
||||||
|
nvtake
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue