mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-20 11:55:32 +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
|
### First time setup
|
||||||
|
|
||||||
1. Clone this repository to `$HOME/.dotfiles`
|
1. Clone this repository to `$HOME/.dotfiles`
|
||||||
2. `bash $HOME/.dotfiles/scripts/settler.sh`
|
2. `./install`
|
||||||
3. ???
|
3. ???
|
||||||
4. Profit
|
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 files and locations
|
||||||
|
|
||||||
### Interesting folders
|
### Interesting folders
|
||||||
@@ -36,6 +32,7 @@ and you need git to clone the repo. This will change soon™.
|
|||||||
|
|
||||||
| Repo | Destination | Description |
|
| Repo | Destination | Description |
|
||||||
| --------- | ----------- | ------------------------------------------- |
|
| --------- | ----------- | ------------------------------------------- |
|
||||||
|
| `base/` | `.*` | `$HOME` level files. |
|
||||||
| `config/` | `.config/` | Configurations for applications. |
|
| `config/` | `.config/` | Configurations for applications. |
|
||||||
| `local/` | `.local/` | XDG Base folder: `bin`, `share` and `state` |
|
| `local/` | `.local/` | XDG Base folder: `bin`, `share` and `state` |
|
||||||
| `ssh/` | `.ssh/` | SSH Configurations. |
|
| `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.
|
`.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
|
## Configuration
|
||||||
|
|
||||||
The folder structure follows [XDG Base Directory Specification][xdg] where possible.
|
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
|
### Interesting dotfiles repos
|
||||||
|
|
||||||
- [https://dotfiles.github.io/inspiration/](dotfiles.github.io/inspiration)
|
- [dotfiles.github.io/inspiration/](https://dotfiles.github.io/inspiration)
|
||||||
- [https://github.com/frdmn/dotfiles](github.com/frdmn/dotfiles) - Ansible-based
|
- [frdmn/dotfiles](https://github.com/github.com/frdmn/dotfiles) - Ansible-based
|
||||||
dotfile setup for macOS
|
dotfile setup for macOS
|
||||||
- [https://github.com/mvdan/dotfiles](mvdan/dotfiles) - Here be dragons
|
- [mvdan/dotfiles](https://github.com/mvdan/dotfiles) - Here be dragons
|
||||||
- [https://github.com/vsouza/dotfiles](vsouza/dotfiles) - 🏡 My dotfiles
|
- [vsouza/dotfiles](https://github.com/vsouza/dotfiles) - 🏡 My dotfiles
|
||||||
- [https://github.com/freekmurze/dotfiles](freekmurze/dotfiles) - My personal 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-gh-extension \
|
||||||
--plugin-dir=dotbot-plugins/dotbot-golang \
|
--plugin-dir=dotbot-plugins/dotbot-golang \
|
||||||
--plugin-dir=dotbot-plugins/dotbot-if \
|
--plugin-dir=dotbot-plugins/dotbot-if \
|
||||||
|
-p dotbot-plugins/dotbot-if/if.py \
|
||||||
-c "${CONFIG}" \
|
-c "${CONFIG}" \
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
stderr: true
|
stderr: true
|
||||||
stdout: true
|
stdout: true
|
||||||
brewfile:
|
brewfile:
|
||||||
|
stderr: true
|
||||||
stdout: true
|
stdout: true
|
||||||
link:
|
link:
|
||||||
create: true
|
create: true
|
||||||
@@ -26,13 +27,6 @@
|
|||||||
~/Code:
|
~/Code:
|
||||||
|
|
||||||
- link:
|
- link:
|
||||||
~/.bashrc:
|
|
||||||
~/.ecrc:
|
|
||||||
~/.git_profiles:
|
|
||||||
~/.huskyrc:
|
|
||||||
~/.plan:
|
|
||||||
~/.shellcheckrc:
|
|
||||||
~/.vuerc:
|
|
||||||
~/.config/:
|
~/.config/:
|
||||||
glob: true
|
glob: true
|
||||||
path: config/**
|
path: config/**
|
||||||
@@ -44,11 +38,13 @@
|
|||||||
glob: true
|
glob: true
|
||||||
mode: 600
|
mode: 600
|
||||||
path: ssh/**
|
path: ssh/**
|
||||||
~/.zshrc:
|
~/:
|
||||||
force: true
|
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:
|
- if:
|
||||||
- cond: "[ $(uname) = Darwin ]"
|
- cond: "[ $(uname) = Darwin ]"
|
||||||
|
|||||||
Reference in New Issue
Block a user