.bashrc: Add homebrew's sbin to PATH
Some stuff, like mtr, is in sbin instead of bin. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
a664895145
commit
9a93eef13f
2
.bashrc
2
.bashrc
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# OS-specific things
|
# OS-specific things
|
||||||
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
||||||
PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH
|
PATH=$(brew --prefix coreutils)/libexec/gnubin:/usr/local/sbin:$PATH
|
||||||
|
|
||||||
if [[ -f $(brew --prefix)/etc/bash_completion ]]; then
|
if [[ -f $(brew --prefix)/etc/bash_completion ]]; then
|
||||||
. $(brew --prefix)/etc/bash_completion
|
. $(brew --prefix)/etc/bash_completion
|
||||||
|
Loading…
Reference in New Issue
Block a user