From d452db49a52166c989b2693a4e30bc75c07ba419 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Thu, 24 Apr 2025 03:21:42 -0300 Subject: [PATCH] Update tcsh a bit --- dot_config/tcsh/dot_tcshrc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dot_config/tcsh/dot_tcshrc b/dot_config/tcsh/dot_tcshrc index 978ac3c..c6e8bbb 100644 --- a/dot_config/tcsh/dot_tcshrc +++ b/dot_config/tcsh/dot_tcshrc @@ -1,5 +1,9 @@ -# If running interactively, then: -if ($?prompt) then - set SHELL = "/usr/bin/bash" - exec $SHELL -endif \ No newline at end of file +# If not running interactively, don't do anything +if (! $?prompt) return + +# Set starship if it's installed +if (! `which starship >& /dev/null`) eval `starship init tcsh` + +# Just use bash +set SHELL = "/bin/bash" +exec $SHELL \ No newline at end of file