mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
Moved $HOME root dotfiles to base folder
This commit is contained in:
24
README.md
24
README.md
@@ -13,14 +13,10 @@ fork or download the repo as a zip and go from there with your own configs.
|
||||
### First time setup
|
||||
|
||||
1. Clone this repository to `$HOME/.dotfiles`
|
||||
2. `bash $HOME/.dotfiles/scripts/settler.sh`
|
||||
2. `./install`
|
||||
3. ???
|
||||
4. Profit
|
||||
|
||||
Note: there's a bit chicken/egg situation,
|
||||
because settler assumes you don't have git,
|
||||
and you need git to clone the repo. This will change soon™.
|
||||
|
||||
## Interesting files and locations
|
||||
|
||||
### Interesting folders
|
||||
@@ -36,6 +32,7 @@ and you need git to clone the repo. This will change soon™.
|
||||
|
||||
| Repo | Destination | Description |
|
||||
| --------- | ----------- | ------------------------------------------- |
|
||||
| `base/` | `.*` | `$HOME` level files. |
|
||||
| `config/` | `.config/` | Configurations for applications. |
|
||||
| `local/` | `.local/` | XDG Base folder: `bin`, `share` and `state` |
|
||||
| `ssh/` | `.ssh/` | SSH Configurations. |
|
||||
@@ -44,13 +41,6 @@ and you need git to clone the repo. This will change soon™.
|
||||
|
||||
`.local/bin/dfm` is a shell script that has some tools that help with dotfiles management.
|
||||
|
||||
### `scripts/install-dotfiles.sh` - dotfiles linker
|
||||
|
||||
The `scripts/install-dotfiles.sh` is a `rcm` generated shell script
|
||||
that does all the necessary linking.
|
||||
|
||||
To refresh the file, you can run `dfm dotfiles update`
|
||||
|
||||
## Configuration
|
||||
|
||||
The folder structure follows [XDG Base Directory Specification][xdg] where possible.
|
||||
@@ -95,9 +85,9 @@ The folder structure follows [XDG Base Directory Specification][xdg] where possi
|
||||
|
||||
### Interesting dotfiles repos
|
||||
|
||||
- [https://dotfiles.github.io/inspiration/](dotfiles.github.io/inspiration)
|
||||
- [https://github.com/frdmn/dotfiles](github.com/frdmn/dotfiles) - Ansible-based
|
||||
- [dotfiles.github.io/inspiration/](https://dotfiles.github.io/inspiration)
|
||||
- [frdmn/dotfiles](https://github.com/github.com/frdmn/dotfiles) - Ansible-based
|
||||
dotfile setup for macOS
|
||||
- [https://github.com/mvdan/dotfiles](mvdan/dotfiles) - Here be dragons
|
||||
- [https://github.com/vsouza/dotfiles](vsouza/dotfiles) - 🏡 My dotfiles
|
||||
- [https://github.com/freekmurze/dotfiles](freekmurze/dotfiles) - My personal dotfiles
|
||||
- [mvdan/dotfiles](https://github.com/mvdan/dotfiles) - Here be dragons
|
||||
- [vsouza/dotfiles](https://github.com/vsouza/dotfiles) - 🏡 My dotfiles
|
||||
- [freekmurze/dotfiles](https://github.com/freekmurze/dotfiles) - My personal dotfiles
|
||||
|
||||
1
install
1
install
@@ -18,5 +18,6 @@ git submodule update --init --recursive
|
||||
--plugin-dir=dotbot-plugins/dotbot-gh-extension \
|
||||
--plugin-dir=dotbot-plugins/dotbot-golang \
|
||||
--plugin-dir=dotbot-plugins/dotbot-if \
|
||||
-p dotbot-plugins/dotbot-if/if.py \
|
||||
-c "${CONFIG}" \
|
||||
"${@}"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
stderr: true
|
||||
stdout: true
|
||||
brewfile:
|
||||
stderr: true
|
||||
stdout: true
|
||||
link:
|
||||
create: true
|
||||
@@ -26,13 +27,6 @@
|
||||
~/Code:
|
||||
|
||||
- link:
|
||||
~/.bashrc:
|
||||
~/.ecrc:
|
||||
~/.git_profiles:
|
||||
~/.huskyrc:
|
||||
~/.plan:
|
||||
~/.shellcheckrc:
|
||||
~/.vuerc:
|
||||
~/.config/:
|
||||
glob: true
|
||||
path: config/**
|
||||
@@ -44,11 +38,13 @@
|
||||
glob: true
|
||||
mode: 600
|
||||
path: ssh/**
|
||||
~/.zshrc:
|
||||
~/:
|
||||
force: true
|
||||
path: zshrc
|
||||
glob: true
|
||||
path: base/**
|
||||
prefix: '.'
|
||||
|
||||
- shell: [git submodule update --init --recursive, Installing submodules]
|
||||
- shell: [git submodule update --init --recursive --force, Installing submodules]
|
||||
|
||||
- if:
|
||||
- cond: "[ $(uname) = Darwin ]"
|
||||
|
||||
Reference in New Issue
Block a user