more macos stuff
This commit is contained in:
parent
6180c7e6be
commit
65336b03b6
@ -4,17 +4,19 @@ bat
|
|||||||
binutils
|
binutils
|
||||||
bison
|
bison
|
||||||
cmake
|
cmake
|
||||||
|
coreutils
|
||||||
cowsay
|
cowsay
|
||||||
feh
|
feh
|
||||||
figlet
|
figlet
|
||||||
coreutils
|
|
||||||
flex
|
flex
|
||||||
fzf
|
fzf
|
||||||
|
gawk
|
||||||
gcc
|
gcc
|
||||||
gettext
|
gettext
|
||||||
go
|
go
|
||||||
|
gpatch
|
||||||
|
gsed
|
||||||
htop
|
htop
|
||||||
openjdk
|
|
||||||
jq
|
jq
|
||||||
libtool
|
libtool
|
||||||
lolcat
|
lolcat
|
||||||
@ -23,18 +25,16 @@ ncurses
|
|||||||
neofetch
|
neofetch
|
||||||
node
|
node
|
||||||
npm
|
npm
|
||||||
|
openjdk
|
||||||
openssh
|
openssh
|
||||||
patch
|
|
||||||
pkg-config
|
pkg-config
|
||||||
python
|
|
||||||
pylint
|
pylint
|
||||||
virtualenv
|
python
|
||||||
ripgrep
|
ripgrep
|
||||||
rust
|
rust
|
||||||
gsed
|
|
||||||
gawk
|
|
||||||
tmux
|
tmux
|
||||||
vim
|
vim
|
||||||
|
virtualenv
|
||||||
yamllint
|
yamllint
|
||||||
yq
|
yq
|
||||||
zip
|
zip
|
||||||
|
11
setup/os.zsh
11
setup/os.zsh
@ -97,6 +97,17 @@ OS__INSTALL_MANAGED_DEPENDENCIES() {
|
|||||||
yN 'continue with install?' && return 0 || ABORT
|
yN 'continue with install?' && return 0 || ABORT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case ${OS_NAME} in
|
||||||
|
( macos )
|
||||||
|
zsh -c 'source ~/.zprofile &>/dev/null; sed --version 2>&1 | grep GNU | grep -qv BSD' || {
|
||||||
|
STATUS "detected BSD sed priority; updating GNU utilities in homebrew"
|
||||||
|
for P in "$(brew --prefix)"/opt/*/libexec/gnubin; do export PATH="$P:$PATH"; done
|
||||||
|
|
||||||
|
echo 'for P in "$(brew --prefix)"/opt/*/libexec/gnubin; do export PATH="$P:$PATH"; done' >> "${HOME}/.zprofile"
|
||||||
|
}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
SUCCESS 'all dependencies satisfied'
|
SUCCESS 'all dependencies satisfied'
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user