removed you complete me. set tmux to use bash

pull/1/head
Adam Veldhousen 2014-10-02 09:37:56 -05:00
parent e60775bd01
commit 02cfa6cba4
1 changed files with 8 additions and 4 deletions

View File

@ -6,12 +6,14 @@
# Author : Adam Veldhousen The USA #
#------------------------------------------------------------------------------#
#default to zsh
set -g default-command /bin/zsh
set -g default-shell /bin/zsh
#default to bash
set -g default-command "/bin/bash"
set -g default-shell "/bin/bash"
# enable pbcopy and pbpaste support with reattach-to-user-namespace
set-option -g default-command "reattach-to-user-namespace -l zsh"
#set-option -g default-command "reattach-to-user-namespace -l bash --login"
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy"
bind C-v run "tmux set-buffer \"$(reattach-to-user-namespace pbpaste)\"; tmux paste-buffer"
@ -106,3 +108,5 @@ source ~/Tools/vim/.vimrc
#unbind-key ^A-PPage ; bind-key -n ^A-PPage copy-mode
#unbind-key ^A-i ; bind-key -n ^A-i paste-buffer
#unbind-key ^A-P ; bind-key -n ^A-P paste-buffer
source ~/Tools/modules/powerline/bindings/tmux/powerline.conf