1
0
Fork 0

Update macOS instruction and use brew for a few more packages

main
Ambrose Chua 2021-03-17 03:07:56 +08:00
parent c3f7236360
commit a1f3ba6c8a
2 changed files with 18 additions and 33 deletions

View File

@ -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

44
.github/README.md vendored
View File

@ -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
```