Adds decrypt step
This commit is contained in:
parent
84797d337d
commit
017fc2fd42
2 changed files with 6 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ _footer() {
|
||||||
display() {
|
display() {
|
||||||
local value="$1"
|
local value="$1"
|
||||||
_header ${#value}
|
_header ${#value}
|
||||||
_value ${value}
|
_value "${value}"
|
||||||
_footer ${#value}
|
_footer ${#value}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -50,8 +50,8 @@ runfile() {
|
||||||
|
|
||||||
_header ${maxWidth}
|
_header ${maxWidth}
|
||||||
|
|
||||||
read -p "| $prompt" -n 1 -r -s
|
read -p "| $prompt |" -n 1 -r -s
|
||||||
echo " |"
|
echo
|
||||||
|
|
||||||
if [[ $REPLY =~ ^[Nn]$ ]]; then
|
if [[ $REPLY =~ ^[Nn]$ ]]; then
|
||||||
_footer ${maxWidth}
|
_footer ${maxWidth}
|
||||||
|
|
|
||||||
3
.config/yadm/bootstrap.d/12-Decrypt.sh
Executable file
3
.config/yadm/bootstrap.d/12-Decrypt.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/env sh
|
||||||
|
|
||||||
|
yadm decrypt
|
||||||
Loading…
Add table
Add a link
Reference in a new issue