commit 59e52a336b24d1f1263485628071cddb826cb0ae
parent 6aa628d846f1a197269be826567cb0ac2bac1304
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Tue, 15 Dec 2020 04:07:08 +0100
Put pty master on different fd than 0 for urxvt
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/zshaskpass_lock b/bin/zshaskpass_lock
@@ -46,7 +46,7 @@ if [[ -n $X ]]; then
typeset -g plumber_fifo
plumber_fifo=/run/containers/xsession.$X.ccx/run/plumber_fifo
exec_socket=$HOME/chome/xsession.$[ ${TTY#/dev/tty} + 4 ]/exec/socket
- terminal_el="s6-sudo ${(qqq)${exec_socket:A}} fdmove 3 0 redirfd -r 0 /dev/null background { urxvt -pty-fd 0 }"
+ terminal_el="s6-sudo ${(qqq)${exec_socket:A}} fdmove 3 0 redirfd -r 0 /dev/null background { urxvt -pty-fd 3 }"
terminal_env=rxvt-unicode # the TERM variable used
else
coproc_args+=( tail -F /run/user/ccx.logs/current )