Fix base/macos
This commit is contained in:
parent
a20a728ef5
commit
abfe8212ab
|
@ -9,6 +9,6 @@ alias bru='brew update && brew upgrade && brew cleanup'
|
||||||
alias brc='brew cask'
|
alias brc='brew cask'
|
||||||
|
|
||||||
# OS X has no `md5sum`, so use `md5` as a fallback
|
# 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
|
# OS X has no `sha1sum`, so use `shasum` as a fallback
|
||||||
is-callable sha1sum || alias sha1sum="shasum"
|
_is_callable sha1sum || alias sha1sum="shasum"
|
||||||
|
|
|
@ -10,6 +10,9 @@ export LIBRARY_PATH="/usr/local/lib"
|
||||||
# export LDFLAGS="-L/usr/local/lib"
|
# export LDFLAGS="-L/usr/local/lib"
|
||||||
|
|
||||||
export LESS='-g -i -M -R -S -w -z-4'
|
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>&-'
|
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
path=( /usr/local/{s,}bin $path )
|
||||||
|
|
Loading…
Reference in a new issue