Browse Source

Use -s not | sort

master
Brett Langdon 9 years ago
parent
commit
161538a893
No known key found for this signature in database GPG Key ID: A2ECAB73CE12147F
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      zshrc.d/.env.zsh

+ 2
- 2
zshrc.d/.env.zsh View File

@ -38,8 +38,8 @@ PATH="/usr/local/heroku/bin:$PATH"
export PATH="$HOME/.rvm/bin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
# TODO: Load in any extra environments
for f in $(find $ZSH_DIR/ -print -type f -maxdepth 1 | grep '\.env\..*\.zsh' | sort)
# Load in any additional .env files provided
for f in $(find $ZSH_DIR/ -print -type f -maxdepth 1 -s | grep '\.env\..*\.zsh')
do
source "$f"
done

Loading…
Cancel
Save