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