mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
templates/bashrc: Load settings only in interactive sessions
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# Enable the subsequent settings only in interactive sessions
|
||||
case $- in
|
||||
*i*) ;;
|
||||
*) return;;
|
||||
esac
|
||||
|
||||
# Path to your oh-my-bash installation.
|
||||
export OSH=$HOME/.oh-my-bash
|
||||
|
||||
|
Reference in New Issue
Block a user