diff --git a/zet b/zet index 3e5fd26..b397aa4 100755 --- a/zet +++ b/zet @@ -44,6 +44,11 @@ delete_zet() { if [[ -d "$dir" ]]; then mv -v "$dir" "/tmp/zet-${id}" + run_git_command rm -r "$dir" + + commit_message="Delete ${id}" + run_git_command commit -m "$commit_message" + update_zet_list else echo "Note not found: $id" >&2