Skip to content

Commit 56373ca

Browse files
committed
macOS parity
* remove `make` hack * migrate paths to latest homebrew defaults
1 parent d050598 commit 56373ca

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.exports

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/sh
2-
31
# this file is a cross-compatible list of
42
# exports for fish and bash. since most
53
# shells need to be supported, a very limited

.local/bin/diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/sh
1+
#!/usr/bin/env sh
22
###
33
## Super diff
44
## 1. `diff` by itself shows a diff of cached

.settings

+10-5
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,18 @@ USER_PATHS="$P0:$P1:$P2:$P5:$P6:$P7:$P8"
4242
os=$(uname -s)
4343
if [[ "$os" == "Darwin" ]]; then
4444
# Prefer brew python over system python
45-
#USER_PATHS="/usr/local/opt/python/libexec/bin:$USER_PATHS"
45+
#USER_PATHS="/opt/homebrew/opt/python/libexec/bin:$USER_PATHS"
4646

47-
# Xcode make never works and is not available in 11.1 beta
48-
USER_PATHS="/usr/local/opt/make/libexec/gnubin:$USER_PATHS"
4947
# Prefer GNU feature set to BSD ones
50-
USER_PATHS="/usr/local/opt/coreutils/libexec/gnubin:$USER_PATHS"
51-
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
48+
USER_PATHS="/opt/homebrew/opt/coreutils/libexec/gnubin/:$USER_PATHS"
49+
50+
# Homebrew
51+
USER_PATHS="/opt/homebrew/bin:$USER_PATHS"
52+
53+
# Mirror Linux PATH
54+
USER_PATHS="$HOME/.local/bin:$USER_PATHS"
55+
56+
export MANPATH="/opt/homebrew/opt/coreutils/libexec/gnuman:$MANPATH"
5257
fi
5358

5459
## inject additional dirs

0 commit comments

Comments
 (0)