diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-08-26 20:59:59 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-08-26 20:59:59 +0200 |
commit | 564aa4bb127d8922fc9d766c4b51dfcc754f092e (patch) | |
tree | 4f062bdfd4f0683fafd09f3b20e6c3725831f62e /.bash_profile | |
parent | 616d0be491dc15a41b09ec870287a9747cc2e7ee (diff) | |
download | dotfiles-564aa4bb127d8922fc9d766c4b51dfcc754f092e.tar.gz dotfiles-564aa4bb127d8922fc9d766c4b51dfcc754f092e.tar.xz dotfiles-564aa4bb127d8922fc9d766c4b51dfcc754f092e.zip |
Add workaround for ~/.profile not being honored in tmux env.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile index 9690b69..c2ebcea 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,5 +1,10 @@ # .bash_profile +# workaround for ~/.profile not being sourced in tmux env. +if [ -z "${_LOCAL_PROFILE}" ]; then + . ~/.profile +fi + # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc |