Update macOS instruction and use brew for a few more packages
parent
c3f7236360
commit
a1f3ba6c8a
|
@ -174,6 +174,7 @@ esac
|
|||
packages_add neovim git
|
||||
$nicetohave && packages_add pass gnupg
|
||||
case $ID in
|
||||
macos) packages_add pinentry-mac;
|
||||
alpine) packages_add dropbear-ssh;;
|
||||
fedora) packages_add openssh-clients;;
|
||||
debian|ubuntu) packages_add openssh-client;;
|
||||
|
@ -207,10 +208,14 @@ packages_install
|
|||
# Install Python 3 packages
|
||||
|
||||
case $ID in
|
||||
macos) $nicetohave && packages_add httpie;;
|
||||
alpine) packages_add httpie;;
|
||||
*) pip3 install --no-cache-dir --user httpie;;
|
||||
esac
|
||||
$nicetohave && pip3 install --no-cache-dir --user thefuck
|
||||
case $ID in
|
||||
macos) $nicetohave && packages_add thefuck;;
|
||||
*) $nicetohave && pip3 install --no-cache-dir --user thefuck;;
|
||||
esac
|
||||
|
||||
# Install Golang
|
||||
|
||||
|
|
|
@ -17,47 +17,27 @@ Just storing dotfiles in a repository isn't enough. This is almost all the tools
|
|||
|
||||
```sh
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
curl -fLo ~/.local/bin/runenv https://raw.githubusercontent.com/serverwentdown/env/master/.local/bin/runenv
|
||||
chmod +x ~/.local/bin/runenv
|
||||
runenv -h
|
||||
curl -fLo ~/.local/bin/contain https://raw.githubusercontent.com/serverwentdown/env/master/.local/bin/contain
|
||||
chmod +x ~/.local/bin/contain
|
||||
contain -h
|
||||
```
|
||||
|
||||
### macOS
|
||||
### macOS, Fedora, Alpine, Ubuntu, Debian
|
||||
|
||||
[Install yadm](https://yadm.io/docs/install), and then clone.
|
||||
|
||||
```sh
|
||||
brew install \
|
||||
xz upx \
|
||||
\
|
||||
zsh-autosuggestions \
|
||||
zsh-syntax-highlighting \
|
||||
exa jq \
|
||||
neovim \
|
||||
\
|
||||
git \
|
||||
pass gnupg \
|
||||
\
|
||||
python@3.9 \
|
||||
go \
|
||||
\
|
||||
thefuck \
|
||||
httpie \
|
||||
dust \
|
||||
yadm \
|
||||
\
|
||||
kubectl \
|
||||
minio/stable/mc \
|
||||
\
|
||||
pinentry-mac
|
||||
|
||||
|
||||
# Install yadm (macOS)
|
||||
brew install yadm
|
||||
# Install yadm (dirty method)
|
||||
curl -fLo ~/.local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm
|
||||
chmod +x /usr/local/bin/yadm
|
||||
# Clone
|
||||
yadm clone git@github.com:serverwentdown/env.git
|
||||
```
|
||||
|
||||
## Optional
|
||||
|
||||
```sh
|
||||
# requires private key
|
||||
yadm decrypt
|
||||
# requires yadm decrypt
|
||||
git clone git@makerforce.io:ambrose/pass.git ~/.password-store
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue