From 85d151df03fbf0c6cfe95a4eba94c73e23e0c48b Mon Sep 17 00:00:00 2001 From: Robert Estelle Date: Wed, 29 Jul 2020 11:23:33 -0700 Subject: [PATCH] sh: Do not source ~/.bash_profile This isn't an interactive script. Any relevant environment should already be inherited from tmux, and sourcing ~/.bash_profile may cause ~/.bashrc to be sourced with unexpected effects. --- tmux-thumbs.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/tmux-thumbs.sh b/tmux-thumbs.sh index 7be8a3f..81859ff 100755 --- a/tmux-thumbs.sh +++ b/tmux-thumbs.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -[ -f ~/.bash_profile ] && source ~/.bash_profile - PARAMS=() function add-boolean-param {