Added tmux configuration

This commit is contained in:
hellerve
2015-03-30 15:06:42 +02:00
parent 72495de4f9
commit 8e46a21046
3 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
all:bash ghc git python valgrind vim zsh all:bash ghc git python tmux valgrind vim zsh
bash: bash:
cp bash_profile ~/.bash_profile cp bash_profile ~/.bash_profile
@@ -13,6 +13,9 @@ git:
python: python:
cp pythonrc ~/.pythonrc cp pythonrc ~/.pythonrc
tmux:
cp tmux.conf ~/.tmux.conf
valgrind: valgrind:
cp valgrindrc ~/.valgrindrc cp valgrindrc ~/.valgrindrc

2
tmux.conf Normal file
View File

@@ -0,0 +1,2 @@
set-option -g default-command /bin/zsh
set-option -g default-shell /bin/zsh

7
zshrc
View File

@@ -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 clipboard_clear="echo lol | pbcopy"
alias sloccount="sloccount --addlang makefile --addlang html --multiproject --duplicates --crossdups --autogen" alias sloccount="sloccount --addlang makefile --addlang html --multiproject --duplicates --crossdups --autogen"
alias vlc="/Applications/VLC.app/Contents/MacOS/VLC" 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%}]\$" PROMPT="[%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~%{$reset_color%}]\$"
expand-or-complete-with-dots(){ expand-or-complete-with-dots(){
@@ -139,11 +143,12 @@ save_dotfiles(){
cp ~/.ghci ${DOTPATH}ghci cp ~/.ghci ${DOTPATH}ghci
cp ~/.gitignore ${DOTPATH}gitignore cp ~/.gitignore ${DOTPATH}gitignore
cp ~/.gitconfig ${DOTPATH}gitconfig cp ~/.gitconfig ${DOTPATH}gitconfig
cp ~/.pip-upgrade ${DOTPATH}pip-upgrade
cp ~/.pythonrc ${DOTPATH}pythonrc cp ~/.pythonrc ${DOTPATH}pythonrc
cp ~/.tmux.conf ${DOTPATH}tmux.conf
cp ~/.valgrindrc ${DOTPATH}valgrindrc cp ~/.valgrindrc ${DOTPATH}valgrindrc
cp ~/.vimrc ${DOTPATH}vimrc cp ~/.vimrc ${DOTPATH}vimrc
cp ~/.zshrc ${DOTPATH}zshrc cp ~/.zshrc ${DOTPATH}zshrc
cp ~/.pip-upgrade ${DOTPATH}pip-upgrade
} }