quick fix bash exec NOT -l
This commit is contained in:
+2
-1
@@ -214,7 +214,8 @@ function miaou-bash {
|
|||||||
if [[ "$code" == 0 ]]; then
|
if [[ "$code" == 0 ]]; then
|
||||||
if [[ "${1:-}" =~ --self-upgrade|--uninstall ]]; then
|
if [[ "${1:-}" =~ --self-upgrade|--uninstall ]]; then
|
||||||
echo 'reloading session now!'
|
echo 'reloading session now!'
|
||||||
exec bash -l
|
#exec bash -l
|
||||||
|
exec bash
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return $code
|
return $code
|
||||||
|
|||||||
Reference in New Issue
Block a user