81 lines
2.0 KiB
Markdown
81 lines
2.0 KiB
Markdown
|
|
# env [![Build Status](https://ci.makerforce.io/api/badges/ambrose/env/status.svg)](https://ci.makerforce.io/ambrose/env)
|
|
|
|
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
|
|
|
|
## Screenshots
|
|
|
|
![](../.local/screenshots/iterm1.png)
|
|
![](../.local/screenshots/iterm1-light.png)
|
|
![](../.local/screenshots/iterm2.png)
|
|
![](../.local/screenshots/iterm3.png)
|
|
![](../.local/screenshots/iterm3-light.png)
|
|
|
|
## Usage
|
|
|
|
### Docker
|
|
|
|
```sh
|
|
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
|
|
```
|
|
|
|
### macOS, Fedora, Alpine, Ubuntu, Debian
|
|
|
|
[Install yadm](https://yadm.io/docs/install), and then clone.
|
|
|
|
```sh
|
|
# Install yadm (macOS)
|
|
brew install yadm
|
|
# Install yadm (dirty method)
|
|
sudo curl -fLo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm
|
|
sudo chmod +x /usr/local/bin/yadm
|
|
# Clone
|
|
yadm clone git@github.com:serverwentdown/env.git
|
|
```
|
|
|
|
## Optional
|
|
|
|
```sh
|
|
git clone git@makerforce.io:ambrose/pass.git ~/.password-store
|
|
```
|
|
|
|
### 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>
|
|
```
|