mirror of https://github.com/akelge/zsh
25 lines
623 B
Bash
25 lines
623 B
Bash
# Darwin/OSX
|
|
# Environment and aliases for OSX
|
|
|
|
|
|
# Setup brew
|
|
# We need it here to fix the PATH
|
|
# so we can setup pyenv and other stuff
|
|
|
|
for prefix in /usr/local /opt/homebrew; do
|
|
brew=$(whence $prefix/bin/brew)
|
|
if [ $brew ]; then
|
|
eval "$($brew shellenv)"
|
|
fi
|
|
done
|
|
|
|
export LSCOLORS="ExgxcxdxCxegedabagacad"
|
|
|
|
alias ls='ls -F -G'
|
|
alias ldd='otool -L'
|
|
alias skill=killall
|
|
alias lsrebuild='/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user'
|
|
|
|
|
|
# vim: set ts=4 sw=4 tw=0 ft=zsh :
|