commented a todo in the tmux.conf, added /bin/bash to aliases file

moveTools
Adam Veldhousen 2015-06-26 09:31:48 -05:00
parent 764c2456d1
commit 70fcfaed18
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
# vim: set ft=sh # vim: set ft=sh
alias cdp="cd -" alias cdp="cd -"
alias ..='cd ..' alias ..='cd ..'

View File

@ -12,8 +12,10 @@
set -g default-command "/bin/bash --login" set -g default-command "/bin/bash --login"
set -g default-shell "/bin/bash" set -g default-shell "/bin/bash"
# remove these lines if you're on linux
# TODO I should figure out how to source other files/do conditionals
# enable pbcopy and pbpaste support with reattach-to-user-namespace # enable pbcopy and pbpaste support with reattach-to-user-namespace
set-option -g default-command "reattach-to-user-namespace -l bash --login" 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-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" bind C-v run "tmux set-buffer \"$(reattach-to-user-namespace pbpaste)\"; tmux paste-buffer"