tmux: Added sudo to htop call
This commit is contained in:
parent
2b1f3930be
commit
faac9c064d
@ -1,7 +1,7 @@
|
||||
# Start a session if none exists
|
||||
new-session -s main
|
||||
# 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'
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
|
Loading…
Reference in New Issue
Block a user