uvar migration: improve output on accidental early exit

fish_job_summary shows this as "$sh -c ...".  Make it "/bin/sh -c ...".
This commit is contained in:
Johannes Altmanninger
2025-12-25 09:26:56 +01:00
parent f1c8e6995d
commit 128fafce1e

View File

@@ -62,7 +62,7 @@ set --erase --universal fish_key_bindings"
if $removing_uvars
set -Ue fish_key_bindings $theme_uvars
set -l sh (__fish_posix_shell)
$sh -c "sleep 7 # Please read above notice about universal variables" &
eval "$sh -c 'sleep 7 # Please read above notice about universal variables' &"
end
end