From 5ca8061b49607867f9ad9d1068b47ab4d2ed352b Mon Sep 17 00:00:00 2001 From: chodak166 Date: Tue, 28 Apr 2026 18:30:27 +0200 Subject: [PATCH] Updated readme file --- .config/nvim/lazy-lock.json | 13 +++++++------ .dotfiles.d/README.md | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 2d1e781..f4cc284 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -8,22 +8,23 @@ "flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" }, "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, "gitsigns.nvim": { "branch": "main", "commit": "6d808f99bd63303646794406e270bd553ad7792e" }, - "grug-far.nvim": { "branch": "main", "commit": "21604255d0e8f9968322f61f2b6c09e5efe1285a" }, - "hybrid-theme": { "branch": "main", "commit": "18f09ba11f6f2a16b46b0de48d701ad44fa9b1b1" }, + "grug-far.nvim": { "branch": "main", "commit": "21790e59dd0109a92a70cb874dd002af186314f5" }, + "hybrid-theme": { "branch": "main", "commit": "a2a02c47e25ee624b194bc208e4efe7c072b736c" }, "just-runner.nvim": { "branch": "main", "commit": "f29d405aa828900df242600720a2b0e57261489f" }, "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, "lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" }, - "lualine.nvim": { "branch": "master", "commit": "a905eeebc4e63fdc48b5135d3bf8aea5618fb21c" }, + "lualine.nvim": { "branch": "master", "commit": "131a558e13f9f28b15cd235557150ccb23f89286" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "0c2823e0418f3d9230ff8b201c976e84de1cb401" }, - "mason.nvim": { "branch": "main", "commit": "12ddd182d9efbdc848b540f16484a583d52da0fb" }, + "mason.nvim": { "branch": "main", "commit": "cb8445f8ce85d957416c106b780efd51c6298f89" }, "mini.ai": { "branch": "main", "commit": "43eb2074843950a3a25aae56a5f41362ec043bfa" }, - "mini.files": { "branch": "main", "commit": "e8db416c9f5dbce70f5501da28263d45c0a4df6b" }, + "mini.files": { "branch": "main", "commit": "3e247eb12ca8c05622ceb8745f9004f761b22ef8" }, "mini.icons": { "branch": "main", "commit": "bac6317300e205335df425296570d84322730067" }, "mini.pairs": { "branch": "main", "commit": "42387c7fe68fc0b6e95eaf37f1bb76e7bffaa0d9" }, "noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, + "nvim-dev-container": { "branch": "main", "commit": "87ea57f420b3460d0c45e239057ffc38fa32f886" }, "nvim-lint": { "branch": "master", "commit": "eab58b48eb11d7745c11c505e0f3057165902461" }, - "nvim-lspconfig": { "branch": "master", "commit": "81878de76c0de4ce289513734ad80c31ec7871b8" }, + "nvim-lspconfig": { "branch": "master", "commit": "bf5abe69c1874531f359a822d0cff4d73e26113f" }, "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, "nvim-treesitter-textobjects": { "branch": "main", "commit": "851e865342e5a4cb1ae23d31caf6e991e1c99f1e" }, "nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, diff --git a/.dotfiles.d/README.md b/.dotfiles.d/README.md index a0da304..519f5fd 100644 --- a/.dotfiles.d/README.md +++ b/.dotfiles.d/README.md @@ -1,6 +1,30 @@ # Dotfiles -## Initialization +The following instructions will set up a bare Git repository in your home directory to track and manage your dotfiles without the need for symlinks or a separate tool. + +## Quick start + +```bash +curl -L bit.ly/4vVSPw1 | sh +``` + +This will pull dotfiles into your home directory. + +Then run one of the init scripts in `~/.dotfiles.d/init`: + +```bash +bash ~/.dotfiles.d/init/init-shell.sh +``` + +Run `zsh` to initialize the configuration. You may also want to set `zsh` as default shell: + +``` +chsh -s $(which zsh) +``` + + +**IMPORTANT**: Backup your critical dotfiles before initializing this repostitory. + ```bash git init --bare $HOME/.dotfiles.git @@ -34,3 +58,14 @@ config add .config/redshift.conf config commit -m "Add redshift config" config push ``` + +## Initialization + +This is how it was created. No need to do this when using existing repository. + +```bash +git init --bare $HOME/.dotfiles.git +alias config='/usr/bin/git --git-dir=$$HOME/.dotfiles.git --work-tree=$$HOME' +config config status.showUntrackedFiles no + +