From aa95c7a9fe92035a0475936deb6d6414fe569784 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Mon, 19 Feb 2024 01:02:23 -0500 Subject: [PATCH] Add continue/cancel prompt to dconf-dump changes --- fake_home/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fake_home/.zshrc b/fake_home/.zshrc index b6485bd..3541917 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -126,6 +126,9 @@ function getdot { echo "Incoming conf changes:" echo git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump + echo + bash -c 'read -p "Press enter to continue, or Ctrl-C to cancel."' || return 1 + echo "Applying changes..." fi dconf load / < /tmp/dconf-dump || return 1 else