diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-06-18 07:04:35 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-06-18 07:04:35 -0600 |
commit | c55e14868abb14b93ef3b38cf507afa23a987ce3 (patch) | |
tree | a9935f22e241620492cfed6873879b1c16d63451 /scripts | |
parent | 154a15d5c3afa693463587e8e5083297e40d89a6 (diff) |
Put configs back into separate files
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check_os.sh | 9 |
1 files changed, 2 insertions, 7 deletions
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 |