I'm not sure what the problem was but, as per suggestion from Nicholas
Marriott now I use "exec $SHELL" and the problem is gone.

Thanks!

On Thu, Jan 16, 2020 at 7:49 PM topcat <[email protected]> wrote:

> I don't run fish but am unable to reproduce this with bash. Can something
> in the fish config cause this?
>
> On Tuesday, January 14, 2020 at 5:30:52 AM UTC-8, Hovnatan Karapetyan
> wrote:
>>
>> When I use set-option -g default-command "${SHELL}" in my config (to
>> avoid opening login shells) I get nested (fish) shells on tmux
>> new-session:
>>
>> |-tmux: server(40577)-+-fish(40755)---fish(40809)
>>
>> |                     `-fish(41032)---fish(41035)
>>
>> Is there a way to avoid this behaviour?
>>
>> Thanks!
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/102a1145-e639-465c-8ad5-53cb11384206%40googlegroups.com
> <https://groups.google.com/d/msgid/tmux-users/102a1145-e639-465c-8ad5-53cb11384206%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAJtOHnLEjcXpYepTXCwVbs0ak-A0hfK-vVgAyH4mmLbwcMZkSg%40mail.gmail.com.

Reply via email to