From 265cad2704d611ac20d753c7d12aea0733fb2be6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 26 May 2021 16:26:13 +1000 Subject: [PATCH] pw-uninstalled: set PW_UNINSTALLED=1 so we can adjust the shell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows for easy configuration of the shell if we're inside pw-uninstalled's shell, e.g. PS1="$PS1 ${PW_UNINSTALLED:+🪠}" --- pw-uninstalled.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pw-uninstalled.sh b/pw-uninstalled.sh index f411d2f72..c75c47f5e 100755 --- a/pw-uninstalled.sh +++ b/pw-uninstalled.sh @@ -46,6 +46,7 @@ export GST_PLUGIN_PATH="${BUILDDIR}/src/gst/${GST_PLUGIN_PATH+":${GST_PLUGIN_PAT # the directory with card profiles and paths export ACP_PATHS_DIR="${SCRIPT_DIR}/spa/plugins/alsa/mixer/paths" export ACP_PROFILES_DIR="${SCRIPT_DIR}/spa/plugins/alsa/mixer/profile-sets" +export PW_UNINSTALLED=1 # FIXME: find a nice, shell-neutral way to specify a prompt ${SHELL}