mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
minot tweaks
This commit is contained in:
parent
a27f2235aa
commit
7f825441fc
2 changed files with 6 additions and 5 deletions
|
|
@ -37,10 +37,11 @@ for i in $OS_DIR/*.sh ; do
|
|||
done
|
||||
|
||||
# Source Host specifics if there are any for the current host
|
||||
if [[ ! -z "$HOST" ]]; then
|
||||
HOSTNAME=`hostname`
|
||||
if [[ ! -z "$HOSTNAME" ]]; then
|
||||
HOST_DIR=$DOT_ENV_PATH/host/`hostname`
|
||||
if [[ "$SHLVL" == "1" ]]; then
|
||||
echo "Sourcing '$HOST' Environment"
|
||||
echo "Sourcing '$HOSTNAME' Environment"
|
||||
fi
|
||||
for i in $HOST_DIR/*.sh ; do
|
||||
if [ -r "$i" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue