Skip to content

Instantly share code, notes, and snippets.

@lalyos
Last active August 29, 2015 14:01
Show Gist options
  • Save lalyos/80f72e8d1c572ac554f7 to your computer and use it in GitHub Desktop.
Save lalyos/80f72e8d1c572ac554f7 to your computer and use it in GitHub Desktop.
install tmux on centos by temporarly enable EPEL
rpm -Uvh http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm
yum install -y tmux
# changes ctr-b to ctr-a
cat > /etc/tmux.conf <<EOF
unbind C-b
set -g prefix C-a
bind C-a send-prefix
EOF
rpm -e epel-release-6-8.noarch
#########################################################################
# protip: you can start a single tmux with a different keybining
# without touvhing /rtc/tmux.conf:
#
# tmux new-session -n "monitor1" \; set -g prefix C-a
#
#########################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment