soyuka / tmux-current-pane-hostname

Tmux plugin that enables displaying hostname and user of the current pane in your status bar.
MIT License
76 stars 23 forks source link

pgrep -a option is required to get command arguments #2

Closed Cybolic closed 8 years ago

Cybolic commented 8 years ago

On my system at least (Ubuntu 16.04), line 35 of scripts/shared needs to be changed to: local cmd=$(pgrep -flaPtmux display-message -p "#{pane_pid}"| sed -E 's/^[0-9]+ ssh //')