Created
October 30, 2012 03:54
-
-
Save devkato/3978197 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat <<EOS > /etc/yum.repos.d/10gen.repo | |
[10gen] | |
name=10gen Repository | |
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 | |
gpgcheck=0 | |
enabled=1 | |
EOS | |
yum -y install mongo-10gen mongo-10gen-server tmux | |
cat <<EOS > ~/.tmux.conf | |
set-window-option -g utf8 on | |
set-option -g base-index 0 | |
set-window-option -g mode-keys vi | |
set-option default-path . | |
set-option -g default-terminal screen-256color | |
set-option -g prefix C-t | |
unbind-key C-b | |
bind C-t send-prefix | |
bind ! break-pane -d | |
unbind - | |
bind - split-window -v | |
unbind | | |
bind | split-window -h | |
unbind k | |
bind k select-pane -U | |
unbind l | |
bind l select-pane -R | |
unbind j | |
bind j select-pane -D | |
unbind h | |
bind h select-pane -L | |
unbind K | |
bind K resize-pane -U 8 | |
unbind L | |
bind L resize-pane -R 32 | |
unbind J | |
bind J resize-pane -D 8 | |
unbind H | |
bind H resize-pane -L 32 | |
unbind C-t | |
bind C-t last-window | |
bind Escape copy-mode | |
bind A command-prompt "rename-window '%%'" | |
unbind '"' | |
bind '"' choose-window | |
bind z clock-mode | |
EOS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment