Add exec zsh after apt install to auto-restart shell

Co-authored-by: krolchonok <40743392+krolchonok@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-28 10:01:52 +00:00
parent 8978295fb1
commit 435a01912b

2
.zshrc
View File

@@ -147,7 +147,7 @@ alias untargz='tar -xvzf'
function a() {
if [ "$1" = "i" ]; then
shift
sudo apt install "$@"
sudo apt install "$@" && exec zsh
elif [ "$1" = "u" ]; then
sudo apt update
elif [ "$1" = "up" ]; then