1
0
Fork 0
env/.github/README.md

81 lines
2.0 KiB
Markdown
Raw Normal View History

2018-04-01 21:22:32 +08:00
2018-09-22 20:51:01 +08:00
# env [![Build Status](https://ci.makerforce.io/api/badges/ambrose/env/status.svg)](https://ci.makerforce.io/ambrose/env)
2018-04-01 21:22:32 +08:00
2018-04-02 23:13:44 +08:00
Just storing dotfiles in a repository isn't enough. This is almost all the tools I use, put into a Docker image that I can run anywhere
2018-04-01 21:31:06 +08:00
2020-11-04 03:52:28 +08:00
## Screenshots
2018-12-01 17:02:59 +08:00
2021-03-16 17:49:13 +08:00
![](../.local/screenshots/iterm1.png)
![](../.local/screenshots/iterm1-light.png)
![](../.local/screenshots/iterm2.png)
![](../.local/screenshots/iterm3.png)
![](../.local/screenshots/iterm3-light.png)
2018-12-01 17:02:59 +08:00
2018-04-01 21:31:06 +08:00
## Usage
2019-01-15 22:58:30 +08:00
### Docker
2018-04-01 21:36:34 +08:00
```sh
2019-01-15 22:58:30 +08:00
export PATH="$HOME/.local/bin:$PATH"
curl -fLo ~/.local/bin/contain https://raw.githubusercontent.com/serverwentdown/env/master/.local/bin/contain
chmod +x ~/.local/bin/contain
contain -h
2018-04-01 21:36:34 +08:00
```
2018-04-02 13:03:45 +08:00
### macOS, Fedora, Alpine, Ubuntu, Debian
2020-11-08 02:21:22 +08:00
[Install yadm](https://yadm.io/docs/install), and then clone.
2020-11-04 03:52:28 +08:00
```sh
# Install yadm (macOS)
brew install yadm
# Install yadm (dirty method)
2021-04-14 14:28:31 +08:00
sudo curl -fLo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm
sudo chmod +x /usr/local/bin/yadm
# Clone
2019-01-15 22:58:30 +08:00
yadm clone git@github.com:serverwentdown/env.git
```
2019-01-15 23:57:09 +08:00
## Optional
2018-04-02 13:03:45 +08:00
2018-04-02 15:11:01 +08:00
```sh
2019-01-15 23:57:09 +08:00
git clone git@makerforce.io:ambrose/pass.git ~/.password-store
2018-04-02 13:03:45 +08:00
```
### GNOME Keyboard
First, copy the custom layout:
```
cp ~/.xkb/symbols/ambrose /usr/share/X11/xkb/symbols/ambrose
```
Then, open `/usr/share/X11/xkb/rules/evdev.xml` in an editor and add this block in `<layoutList>`:
```
<layout>
<configItem>
<name>ambrose</name>
<shortDescription>amb</shortDescription>
<description>English (Ambrose)</description>
<languageList>
<iso639Id>eng</iso639Id>
</languageList>
</configItem>
<variantList>
<variant>
<configItem>
<name>dvp</name>
<description>English (Ambrose, Programmer Dvorak)</description>
</configItem>
</variant>
<variant>
<configItem>
<name>basic</name>
<description>English (Ambrose, Qwerty)</description>
</configItem>
</variant>
</variantList>
</layout>
```