quick fix bash exec NOT -l

This commit is contained in:
pvincent
2026-08-25 07:42:16 +04:00
parent c7b85b3a37
commit a5bbeeec60
+2 -1
View File
@@ -214,7 +214,8 @@ function miaou-bash {
if [[ "$code" == 0 ]]; then
if [[ "${1:-}" =~ --self-upgrade|--uninstall ]]; then
echo 'reloading session now!'
exec bash -l
#exec bash -l
exec bash
fi
fi
return $code