inshellisense icon indicating copy to clipboard operation
inshellisense copied to clipboard

Re-add `--parent-term-exit`

Open dmgnr opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe. I believe 75570648325e44a06438216f0eaf49c68e2da082 was not meant to delete parent-term-exit from the code.

Describe the solution you'd like Re-add pieces of code that made it happen.

Describe alternatives you've considered .bashrc based conditional exit

Additional context My current workaround is:

[ -f ~/.inshellisense/bash/init.sh ] && source ~/.inshellisense/bash/init.sh                                                                       
is                                                                                                                                                 
clear                                                                                                                                              
[ "$ISTERM" != "1" ] && exit

dmgnr avatar Apr 05 '25 14:04 dmgnr