tmux: Added sudo to htop call

This commit is contained in:
Christian Baer 2021-12-20 17:12:22 +01:00
parent 2b1f3930be
commit faac9c064d

View File

@ -1,7 +1,7 @@
# Start a session if none exists # Start a session if none exists
new-session -s main new-session -s main
# Start htop and split window # Start htop and split window
set-hook -t main session-created 'send-keys -t main:0 "htop" C-m; split-window' set-hook -t main session-created 'send-keys -t main:0 "sudo htop" C-m; split-window'
# remap prefix from 'C-b' to 'C-a' # remap prefix from 'C-b' to 'C-a'
unbind C-b unbind C-b
set-option -g prefix C-a set-option -g prefix C-a