From 8e46a210469b4e09570404e66be841edeabe9105 Mon Sep 17 00:00:00 2001 From: hellerve Date: Mon, 30 Mar 2015 15:06:42 +0200 Subject: [PATCH] Added tmux configuration --- Makefile | 5 ++++- tmux.conf | 2 ++ zshrc | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 tmux.conf diff --git a/Makefile b/Makefile index e2d723d..041b4dd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all:bash ghc git python valgrind vim zsh +all:bash ghc git python tmux valgrind vim zsh bash: cp bash_profile ~/.bash_profile @@ -13,6 +13,9 @@ git: python: cp pythonrc ~/.pythonrc +tmux: + cp tmux.conf ~/.tmux.conf + valgrind: cp valgrindrc ~/.valgrindrc diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..4cbb8a0 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,2 @@ +set-option -g default-command /bin/zsh +set-option -g default-shell /bin/zsh diff --git a/zshrc b/zshrc index 1a3fbd7..06cb866 100644 --- a/zshrc +++ b/zshrc @@ -57,6 +57,10 @@ alias howmuch="git ls-tree -r -z --name-only HEAD -- . | xargs -0 -n1 git blame alias clipboard_clear="echo lol | pbcopy" alias sloccount="sloccount --addlang makefile --addlang html --multiproject --duplicates --crossdups --autogen" alias vlc="/Applications/VLC.app/Contents/MacOS/VLC" +alias tmv="tmux split-window" +alias tmh="tmux split-window -h" +alias tms="tmux select-pane" +alias tmk="killall tmux; tmux" PROMPT="[%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~%{$reset_color%}]\$" expand-or-complete-with-dots(){ @@ -139,11 +143,12 @@ save_dotfiles(){ cp ~/.ghci ${DOTPATH}ghci cp ~/.gitignore ${DOTPATH}gitignore cp ~/.gitconfig ${DOTPATH}gitconfig + cp ~/.pip-upgrade ${DOTPATH}pip-upgrade cp ~/.pythonrc ${DOTPATH}pythonrc + cp ~/.tmux.conf ${DOTPATH}tmux.conf cp ~/.valgrindrc ${DOTPATH}valgrindrc cp ~/.vimrc ${DOTPATH}vimrc cp ~/.zshrc ${DOTPATH}zshrc - cp ~/.pip-upgrade ${DOTPATH}pip-upgrade }