.zshrc: Use homebrew instead of pkgsrc
I prefer pkgsrc, but the packages are only updated once per quarter, so if something is broken you won't get a fixed version for a few months, or if you want some new upstream release you have to wait. Installed homebrew manually in /opt/brew because of Mac OS X's system integrity protection since 10.11. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
f0fb944b62
commit
1e37d1fc12
12
.zshrc
12
.zshrc
@ -21,16 +21,16 @@ compinit
|
||||
|
||||
# OS-specific things
|
||||
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
||||
# set pkgsrc paths
|
||||
# see: http://pkgsrc.joyent.com/install-on-osx/
|
||||
PATH=/opt/pkg/sbin:/opt/pkg/bin:$PATH
|
||||
MANPATH=/opt/pkg/man:$MANPATH
|
||||
# set homebrew paths
|
||||
# see: http://brew.sh/
|
||||
PATH=/opt/brew/sbin:/opt/brew/bin:$PATH
|
||||
MANPATH=/opt/brew/man:$MANPATH
|
||||
|
||||
# pass needs umount and diskutil, which are in /sbin and /usr/sbin
|
||||
PATH=$PATH:/sbin:/usr/sbin
|
||||
|
||||
# use pkgsrc's GNU coreutils (prefixed with 'g')
|
||||
# requires at least: coreutils findutils gsed
|
||||
# use homebrew's GNU coreutils (prefixed with 'g')
|
||||
# requires at least: coreutils findutils gnu-sed
|
||||
alias du='gdu'
|
||||
alias ls='gls -F --color=auto'
|
||||
alias df='gdf'
|
||||
|
Loading…
Reference in New Issue
Block a user