Fix base/macos

This commit is contained in:
Henrik Lissner 2017-12-28 00:50:08 -05:00
parent a20a728ef5
commit abfe8212ab
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 3 deletions

View file

@ -9,6 +9,6 @@ alias bru='brew update && brew upgrade && brew cleanup'
alias brc='brew cask'
# OS X has no `md5sum`, so use `md5` as a fallback
is-callable md5sum || alias md5sum="md5"
_is_callable md5sum || alias md5sum="md5"
# OS X has no `sha1sum`, so use `shasum` as a fallback
is-callable sha1sum || alias sha1sum="shasum"
_is_callable sha1sum || alias sha1sum="shasum"

View file

@ -10,6 +10,9 @@ export LIBRARY_PATH="/usr/local/lib"
# export LDFLAGS="-L/usr/local/lib"
export LESS='-g -i -M -R -S -w -z-4'
if is-callable lesspipe; then
if _is_callable lesspipe; then
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
fi
#
path=( /usr/local/{s,}bin $path )