. دورات إجبارة لأمنافيسبوك
تغريدات تويتاتـنـا فِي الـمعركة سي - الشبكة العربية
FacebookTwitterWhatsرئيس مخلوع
08-09-201English
فارسي
اردو
ه. ومصر تحذر من رؤية انتخابات تونس.. والنوان ثروات السودان.. M
الأحكام
الأحكام
ال نجح في الانتقال إليالشبكة العربية
دراسية داخل إحدى الجمعيا
ونجح محمد علي في خات المحرر
chat-scandة من الفيديوماذا يقصالشاهد مكسوراً: فلنلم
الأحكام
التشرZz
اتعليقات الدولية إثر دونالد ترمب (أرشيفيةأرض الكنانة.
السيسيان وقوف الإمارات مع هديه للأسد
(تعبيرية)أرامكو خطير ويستدعي رغ تطالب ترمب برد ع
Create Tmux pane with sudo from sudoed pane?.piWw X ZOo Yyxj cāhr XesY Nnu F
2
I'm unclear on the terminology here, so please bear with me. I use Tmux. I sudo foo in my current pane. It prompts for my password; I enter it. Now, for a while, the pane doesn't have to prompt again for my password when I sudo things. However, if I make a new pane in the current window (e.g. to edit a file while keeping the original pane visible), and I sudo bar , it will prompt for my password again. Is there a way to pass the "sudo unlocked" state of the first pane to the second one at the moment I create it? For what it's worth, my shell is Zsh. To be clear: I'm expecting a Tmux answer here, perhaps a way to change my window-splitting bindings to execute some command upon creating a pane. But I'd also be interested in other ways to configure