dotfiles/README.md
2022-12-20 07:28:55 +01:00

64 lines
1.3 KiB
Markdown

.dotfiles
=================
Managed with [Dotbot]
How to install
-----------------
```bash
# Ubuntu/Debian
sudo apt install fish git curl
# Arch Linux
pacman -S fish git curl
# Do the dance
git clone https://git.inhji.de/inhji/dotfiles.git .dotfiles
# Normal desktop
~/.dotfiles/install
# If installing on MNT Reform
~/.dotfiles/install -c install-reform.conf.yaml
# If installing on a headless server
~/.dotfiles/install -c install-headless.conf.yaml
# Switch shells
chsh -s /usr/bin/fish
```
Install fisher
----------------
```bash
# Debian/Ubuntu
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
# Arch Linux
yay -S fisher
# Now install plugins
fisher install pure-fish/pure
fisher install jethrokuan/z
```
Tips
-----------------
Set the Terminal Font in elementaryOS:
```sh
gsettings set io.elementary.terminal.settings font 'FiraMono Nerd Font 10'
```
In general, you should be using symbolic links for everything, and using git
submodules whenever possible.
To keep submodules at their proper versions, you could include something like
`git submodule update --init --recursive` in your `install.conf.yaml`.
To upgrade your submodules to their latest versions, you could periodically run
`git submodule update --init --remote`.
[dotbot]: https://github.com/anishathalye/dotbot