File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
- #! /usr/bin/sh
2
-
3
1
# this file is a cross-compatible list of
4
2
# exports for fish and bash. since most
5
3
# shells need to be supported, a very limited
Original file line number Diff line number Diff line change 1
- #! /usr/bin/sh
1
+ #! /usr/bin/env sh
2
2
# ##
3
3
# # Super diff
4
4
# # 1. `diff` by itself shows a diff of cached
Original file line number Diff line number Diff line change @@ -42,13 +42,18 @@ USER_PATHS="$P0:$P1:$P2:$P5:$P6:$P7:$P8"
42
42
os=$( uname -s)
43
43
if [[ " $os " == " Darwin" ]]; then
44
44
# 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"
46
46
47
- # Xcode make never works and is not available in 11.1 beta
48
- USER_PATHS=" /usr/local/opt/make/libexec/gnubin:$USER_PATHS "
49
47
# 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 "
52
57
fi
53
58
54
59
# # inject additional dirs
You can’t perform that action at this time.
0 commit comments