exec tells the shell to replace itself with the command rather than
running it then waiting around for it to exit.



On Fri, 17 Jan 2020 at 07:14, Hovnatan Karapetyan <[email protected]> wrote:
>
> 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.
>
> --
> 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.

-- 
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/CAEdLfcFJ7NWmnVyHK8a74CZg0xoO3fG3ASEJAnMFMWqRaBw5Ew%40mail.gmail.com.

Reply via email to