.zshrc: Add /sbin and /usr/sbin to PATH on Mac OS X
These are needed by password store (pass) when editing passwords, and they are not part of the user's PATH by default. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
031cd83ff5
commit
f0fb944b62
3
.zshrc
3
.zshrc
@ -26,6 +26,9 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
||||
PATH=/opt/pkg/sbin:/opt/pkg/bin:$PATH
|
||||
MANPATH=/opt/pkg/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
|
||||
alias du='gdu'
|
||||
|
Loading…
Reference in New Issue
Block a user