From 80ce53470f824e000793708837c30d40f9a72c44 Mon Sep 17 00:00:00 2001 From: noah Date: Sat, 1 Apr 2023 14:08:52 -0500 Subject: [PATCH] mac_setup --- shell-init/shell.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell-init/shell.sh b/shell-init/shell.sh index 8be5583..0ceddcf 100644 --- a/shell-init/shell.sh +++ b/shell-init/shell.sh @@ -2,9 +2,8 @@ # @see https://askubuntu.com/questions/19772/how-to-reinitialize-a-terminal-window-instead-of-closing-it-and-starting-a-new-o refresh_shell() { - #reset # this hangs kitty if [ "$(uname)" = "Darwin" ]; then - exec $SHELL + exec /usr/bin/env bash else exec sudo --login --user "$USER" /bin/sh -c "cd '$PWD'; exec '$SHELL' -l" fi