From dcb30d0bea1236a66959a840449562aa8c110eb9 Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 19 Nov 2025 09:32:07 +0100 Subject: [PATCH] fix: POSIX compatibility case written incorrectly --- .bash_profile | 3 ++- .bashrc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.bash_profile b/.bash_profile index 7530671..71456bb 100644 --- a/.bash_profile +++ b/.bash_profile @@ -31,7 +31,8 @@ export PATH="$PATH:$VCPKG_ROOT" # if executing interactively # execute .bashrc in the current login context case $- in -*i*) return ;; +*i*) ;; +*) return ;; esac [ -z "${PS1-}" ] && return [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc" diff --git a/.bashrc b/.bashrc index 50beefa..127a74c 100644 --- a/.bashrc +++ b/.bashrc @@ -6,7 +6,8 @@ # case $- in -*i*) return ;; +*i*) ;; +*) return ;; esac [ -z "${PS1-}" ] && return