From 12d2b63771e130347514751b221ad4f3fc8b7c3f Mon Sep 17 00:00:00 2001 From: Proctor Date: Fri, 19 Oct 2018 08:24:30 -0500 Subject: [PATCH] misc updates --- .bash_profile | 6 ++++++ tmux.conf | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index e4cda64..f861f7b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -78,5 +78,11 @@ function my_commits_for_this_past_year() git log --author="$(my_git_user_name)" --after="$(end_of_last_year)" origin/master } +function truncate_logs() +{ + find log -type f -name "*.log" | xargs -I {} bash -c 'echo "" > {}' +} + test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" #if [ -e /Users/sg0221754/.nix-profile/etc/profile.d/nix.sh ]; then . /Users/sg0221754/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion diff --git a/tmux.conf b/tmux.conf index 808189a..d621f72 100644 --- a/tmux.conf +++ b/tmux.conf @@ -26,7 +26,7 @@ bind J resize-pane -D 5 bind K resize-pane -U 5 bind L resize-pane -R 5 -setw -g mode-mouse off +setw -g mouse off set -g default-terminal "screen-256color"