From cd6500d280314ab42512059b21b4952ab6de2a63 Mon Sep 17 00:00:00 2001 From: Wes Key <2540699+chopnico@users.noreply.github.com> Date: Fri, 24 Dec 2021 07:26:16 -0500 Subject: [PATCH] statement about conditional plugins loading - bashrc.osh-template has been updated to explain how to conditionally load plugins --- templates/bashrc.osh-template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/bashrc.osh-template b/templates/bashrc.osh-template index 21f510b..0392d23 100644 --- a/templates/bashrc.osh-template +++ b/templates/bashrc.osh-template @@ -70,6 +70,13 @@ plugins=( bashmarks ) +# Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*) +# Custom plugins may be added to ~/.oh-my-bash/custom/plugins/ +# Example format: +# if [ "$DISPLAY" ] || [ "$SSH" ]; then +# plugins+=(tmux-autoattach) +# fi + source $OSH/oh-my-bash.sh # User configuration