From 77ec4f2978955ee19664e6f949c3795bc6bcc441 Mon Sep 17 00:00:00 2001 From: Eragos Date: Thu, 14 Apr 2016 21:32:34 +0200 Subject: [PATCH] load functions into bash environment --- .bash_profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bash_profile b/.bash_profile index 893f3d7..fe048fa 100644 --- a/.bash_profile +++ b/.bash_profile @@ -27,4 +27,7 @@ shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" +# load functions +[[ -f "$HOME/.dotfiles/functions" ]] && source "$HOME/.dotfiles/functions" + [[ -f "$HOME/.dotfiles/.commonrc" ]] && source "$HOME/.dotfiles/.commonrc"