Back to create menu after add new entry

This commit is contained in:
q3aql 2022-06-11 16:26:12 +02:00
parent fa41394558
commit 3a3d7f9825
2 changed files with 6 additions and 0 deletions

View File

@ -256,6 +256,7 @@ function create_login_vault_entry() {
echo "# OTP: ${name_otp}" echo "# OTP: ${name_otp}"
echo "" echo ""
echo -n "# Press enter key to continue " ; read enter_continue echo -n "# Press enter key to continue " ; read enter_continue
create_entries_menu
} }
function create_bcard_vault_entry() { function create_bcard_vault_entry() {
@ -333,6 +334,7 @@ function create_bcard_vault_entry() {
echo "# CVV: ${name_cvv}" echo "# CVV: ${name_cvv}"
echo "" echo ""
echo -n "# Press enter key to continue " ; read enter_continue echo -n "# Press enter key to continue " ; read enter_continue
create_entries_menu
} }
function create_note_vault_entry() { function create_note_vault_entry() {
@ -371,6 +373,7 @@ function create_note_vault_entry() {
echo "# Note: ${name_note}" echo "# Note: ${name_note}"
echo "" echo ""
echo -n "# Press enter key to continue " ; read enter_continue echo -n "# Press enter key to continue " ; read enter_continue
create_entries_menu
} }
function create_entries_menu() { function create_entries_menu() {

View File

@ -298,6 +298,7 @@ function create_login_vault_entry() {
fi fi
done done
echo > /dev/null | pwsh-vaultm -p "爵 LOGIN ENTRY CREATED: ${name_entry} $(generate_spaces 60)" echo > /dev/null | pwsh-vaultm -p "爵 LOGIN ENTRY CREATED: ${name_entry} $(generate_spaces 60)"
create_entries_menu
} }
function create_bcard_vault_entry() { function create_bcard_vault_entry() {
@ -357,6 +358,7 @@ function create_bcard_vault_entry() {
fi fi
done done
echo > /dev/null | pwsh-vaultm -p " CARD ENTRY CREATED: ${name_entry} $(generate_spaces 60)" echo > /dev/null | pwsh-vaultm -p " CARD ENTRY CREATED: ${name_entry} $(generate_spaces 60)"
create_entries_menu
} }
function create_note_vault_entry() { function create_note_vault_entry() {
@ -383,6 +385,7 @@ function create_note_vault_entry() {
fi fi
done done
echo > /dev/null | pwsh-vaultm -p " NOTE ENTRY CREATED: ${name_entry} $(generate_spaces 60)" echo > /dev/null | pwsh-vaultm -p " NOTE ENTRY CREATED: ${name_entry} $(generate_spaces 60)"
create_entries_menu
} }
function create_entries_menu_show() { function create_entries_menu_show() {