Björn Lässig

Results 7 comments of Björn Lässig

This patch works for me: ``` diff --git a/liquidprompt b/liquidprompt index 8a6bfbb..3bcc299 100755 --- a/liquidprompt +++ b/liquidprompt @@ -2476,7 +2476,7 @@ _lp_detached_sessions() { local -i count=0 (( _LP_ENABLE_SCREEN )) &&...

> If we use old `tmux` executable `/proc/TMUX_SERVER_PID/exe list-sessions` the `grep` is not hanging. This is a possibilty from inside tmux. There is TMUX environment var: ``` TMUX=/tmp/tmux-1044/default,68128,0 ``` 2nd...

> Hopefully you still have that tmux session around. Or have a way to reproduce this with your patch intact. I probably can break things for reproducing this bug :-)...

> I do not think your patch will be possible to merge. `timeout` is not something `liquidprompt` already uses, and I do not want to add more binary dependencies that...

> I do not think your patch will be possible to merge. `timeout` is not something `liquidprompt` already uses, and I do not want to add more binary dependencies that...

Even after sleeping on it for a few nights, I only have one idea how to improve the situation: Disable tmux support in root shells in general or use timeout...

> > I only have one idea how to improve the situation: Disable tmux support in root shells in general > > Wait, what do root shells have to do...