Skip to content

Instantly share code, notes, and snippets.

View philipsd6's full-sized avatar

Philip Douglass philipsd6

View GitHub Profile
@philipsd6
philipsd6 / install-tmux
Last active February 22, 2021 14:41 — forked from rothgar/install-tmux
Install tmux 2.3 on rhel/centos 7
# Install tmux on rhel/centos 7
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
tar -xvzf libevent-2.0.22-stable.tar.gz
cd libevent-2.0.22-stable
./configure --prefix=/usr/local
@philipsd6
philipsd6 / _tmux_pane_words.zsh
Last active January 17, 2016 02:25 — forked from blueyed/_tmux_pane_words.zsh
ZSH configuration to complete words from tmux pane(s) Based on http://blog.plenz.com/2012-01/zsh-complete-words-from-tmux-pane.html
# complete words from tmux pane(s) {{{1
# Source: http://blog.plenz.com/2012-01/zsh-complete-words-from-tmux-pane.html
_tmux_pane_words() {
local expl
local -a w
if [[ -z "$TMUX_PANE" ]]; then
_message "not running inside tmux!"
return 1
fi
# capture current pane first