From 1e37d1fc12ce80177582c42dd720c390516a226e Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 24 Nov 2015 00:40:00 +0300 Subject: [PATCH] .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 --- .zshrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.zshrc b/.zshrc index ac1f3a1..3b549aa 100644 --- a/.zshrc +++ b/.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'