From c55e14868abb14b93ef3b38cf507afa23a987ce3 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 18 Jun 2017 07:04:35 -0600 Subject: Put configs back into separate files --- scripts/check_os.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'scripts/check_os.sh') diff --git a/scripts/check_os.sh b/scripts/check_os.sh index a538023..6b654af 100755 --- a/scripts/check_os.sh +++ b/scripts/check_os.sh @@ -18,14 +18,9 @@ set -euo pipefail # Main loop of program main() { if [ "$(uname)" == "Darwin" ]; then - bind -T copy-mode-vi y send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" - unbind -T copy-mode-vi Enter - bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy" - set-option -g default-command "reattach-to-user-namespace -l zsh" + tmux source-file "$HOME/.tmux/tmux-darwin.config" elif [ "$(uname)" == "Linux" ]; then - bind -T copy-mode-vi y send -X copy-pipe-and-cancel "tmux save-buffer - | xp" - unbind -T copy-mode-vi Enter - bind-key -T copy-mode-vi Enter copy-pipe "tmux save-buffer - | xp" + tmux source-file "$HOME/.tmux/tmux-linux.config" fi } main -- cgit v1.2.3