mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
Only execute oh-my-bash on an interactive shell in .bashrc
This commit is contained in:
@@ -49,7 +49,10 @@ OSH_THEME="font"
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(core git bashmarks progress)
|
||||
|
||||
if tty -s
|
||||
then
|
||||
source $OSH/oh-my-bash.sh
|
||||
fi
|
||||
|
||||
# User configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user