Compare commits

Author SHA1 Message Date
andwati 9d3f45a821 fix(zsh): stop lazy-loading nvm, source it eagerly instead
The lazy-load stub wired nvm/node/npm/npx/corepack as wrapper functions
that called a private helper, _nvm_lazy_load, to source nvm.sh on first
real use. That helper went missing in some non-interactive shell contexts
(e.g. a coding agent's captured shell snapshot only kept the public
wrapper functions, not the underscore-prefixed helper), leaving the
wrappers calling a function that no longer existed - infinite recursion
via FUNCNEST, every npm/node/nvm invocation broken.

Sourcing nvm.sh eagerly costs 300-700ms on shell startup but has no
moving parts to go missing.
2026-08-04 12:22:45 +03:00
andwati 20df614d54 update configs 2026-07-26 20:43:00 +03:00
andwati 9370afd396 Switch install.sh to GNU Stow for symlinking
Manual ln -sfn loop replaced with stow zsh gnupg, matching the repo's
existing per-package-directory convention. Still backs up/removes any
conflicting file or foreign symlink at the target before stowing.
2026-07-25 23:38:05 +03:00
andwati a48be5af09 Track gpg-agent passphrase caching config
Bumps the GPG passphrase cache from the 10-minute default to 8 hours
(24h hard cap) and switches to pinentry-qt for a native KDE dialog, so
signed commits stop re-prompting constantly.
2026-07-25 23:31:13 +03:00
andwati bcfb1ce883 Add zsh config: oh-my-zsh + powerlevel10k, lazy-loaded nvm/pyenv
Cuts shell startup from ~440ms to ~150ms by lazy-loading nvm and pyenv
(previously sourced eagerly on every shell start) and caching oh-my-zsh's
completion rescan, which otherwise reran unconditionally every session.
Also fixes a latent bug where oh-my-zsh's extendedglob option silently
broke nvm's default-version auto-activation.

Adds powerlevel10k, zsh-autosuggestions, zsh-syntax-highlighting,
zsh-history-substring-search, zsh-completions, you-should-use, fzf, and
zoxide. install.sh bootstraps a fresh machine: symlinks these dotfiles
and clones the oh-my-zsh theme/plugins.
2026-07-25 23:26:19 +03:00
andwati e87c64c3be cleanup 2026-05-19 12:59:43 +03:00
andwatiandGitHub e5a491b8d4 Add files via upload 2026-03-23 17:34:32 +03:00
andwati 2a44183c66 added lua configs 2025-06-27 16:31:58 +03:00
andwati 84c5c9b232 takeout the trash 2025-06-24 13:18:44 +03:00
andwati 00eeadaa92 init new configs 2025-06-24 13:07:26 +03:00
andwatiandGitHub 84be7ee810 Delete .gitconfig 2025-06-24 12:54:59 +03:00
andwatiandGitHub 5ef91f5605 Delete install.sh 2025-06-24 12:54:39 +03:00
andwati 01a1e291e4 revamp 2025-05-28 14:25:02 +03:00
andwati 663d6d5ea3 cleanup 2025-05-28 14:05:57 +03:00
ReznovandGitHub a1987ef446 Create debian.sh 2025-05-19 21:15:30 +03:00
andwati 2895203640 zshrc 2025-05-15 21:21:25 +03:00
ReznovandGitHub b5fd9869b9 Update ubuntu.sh 2025-05-15 21:20:04 +03:00
ReznovandGitHub d2c7805ed4 Update ubuntu.sh 2025-05-13 02:08:33 +03:00
ReznovandGitHub 490dcb3987 Update ubuntu.sh 2025-05-13 00:32:38 +03:00
andwati 9ae2b35128 ubuntu software install scripts 2025-05-12 01:53:03 +03:00
andwatiandGitHub 230622bdf7 Update repo_sync.sh 2025-03-07 16:23:39 +03:00
andwatiandGitHub e4bd1c2741 Update deps.sh 2025-02-19 03:49:11 +03:00
andwatiandGitHub d4bfae57f6 Update zig.sh 2025-02-07 23:21:59 +03:00
andwatiandGitHub 28dccf2418 Create zig.sh 2025-02-07 23:12:43 +03:00
andwatiandGitHub dfa6fa22f8 Update deps.sh 2025-02-01 23:55:58 +03:00
andwati 5866b619cc stow folder setup 2025-01-20 22:30:20 +03:00
andwati 2f16409898 removed brewfile 2025-01-20 22:27:14 +03:00
andwati ba2f2a0e64 zsh configs 2025-01-20 22:26:50 +03:00
andwatiandGitHub 74b87d74d4 Update .gitconfig 2025-01-16 23:28:31 +03:00
andwatiandGitHub d3cdac9252 Update deps.sh 2025-01-06 23:26:29 +03:00
andwatiandGitHub 76360b17d4 Update deps.sh 2025-01-06 23:15:16 +03:00
andwatiandGitHub 4d60705792 Update repo_sync.sh 2025-01-06 19:21:01 +03:00
andwatiandGitHub 1b48f97ff2 Update repo_sync.sh
added colors
added progress indicators
2025-01-06 19:06:28 +03:00
andwatiandGitHub 33c3200a61 Delete scripts/sync-dotfiles 2025-01-06 19:03:11 +03:00
andwatiandGitHub c94e7b7961 Update repo_sync.sh 2025-01-06 18:54:32 +03:00
andwati 1fc7561dea completed zshrc configs 2024-12-29 13:42:37 +03:00
andwati 4748b2659e zsh 2024-12-29 12:24:49 +03:00
andwati 9b4868444f git config 2024-12-29 12:21:37 +03:00
andwatiandGitHub bac5513582 Update README.md 2024-12-20 23:21:08 +03:00
andwati a3120e2a75 zsh configs 2024-12-20 23:18:47 +03:00
andwati 02f2a0b535 zsh configs 2024-12-20 23:14:45 +03:00
andwati f5d508b970 yolo 2024-12-18 22:08:46 +03:00
andwati 6f6ada38b6 removed dependabot 2024-12-18 22:05:27 +03:00
andwatiandGitHub d5c8154d11 Update repo_sync.sh 2024-12-18 21:58:42 +03:00
andwatiandGitHub ee75ea744f Delete pkgs directory 2024-11-28 15:05:14 +03:00
andwati e16946ffff pkgs 2024-11-27 15:40:38 +03:00
andwati ecb585d97f deps.sh 2024-11-17 10:42:03 +03:00
andwati 888b95df04 deps.sh 2024-11-17 10:39:25 +03:00
andwatiandGitHub 12c537d986 Create dependabot.yml 2024-10-04 17:22:17 +03:00
21 changed files with 31 additions and 560 deletions
+6 -7
View File
@@ -5,7 +5,7 @@ My configuration files that keep me from flipping a table after logging in.
## Setup
```
sudo dnf install git # install.sh dnf-installs stow and the rest
sudo pacman -S stow # or your distro's equivalent
git clone https://github.com/andwati/dotfiles ~/dev/dotfiles
~/dev/dotfiles/install.sh
```
@@ -14,10 +14,9 @@ Each top-level directory is a [GNU Stow](https://www.gnu.org/software/stow/)
package mirroring `$HOME` (e.g. `zsh/.zshrc` -> `~/.zshrc`). `install.sh`
clones oh-my-zsh plus the theme/plugins `.zshrc` expects (powerlevel10k,
zsh-autosuggestions, zsh-syntax-highlighting, zsh-history-substring-search,
zsh-completions, you-should-use), then stows the `zsh`, `gnupg`, `git`,
`ghostty`, `kde`, `nvim`, and `vscode` packages to link everything in, backing
up any conflicting real files it finds first (e.g. oh-my-zsh's own
freshly-installed `.zshrc`).
zsh-completions, you-should-use), then stows the `zsh`, `gnupg`, and `git` packages to link
everything in, backing up any conflicting real files it finds first (e.g.
oh-my-zsh's own freshly-installed `.zshrc`).
To add a new package: create a top-level dir shaped like `$HOME` (e.g.
`git/.gitconfig`), then add a `stow_package <name>` call in `install.sh`.
@@ -28,5 +27,5 @@ constantly, and uses `pinentry-qt` for a native dialog instead of a
terminal prompt.
Not installed by the script — grab these separately if a fresh machine needs
them: `nvm`, `pyenv`, `bun`, `pnpm`, `deno`, `rustup`, `docker`, `ghostty`,
`lazygit`, and a Nerd Font (JetBrains Mono Nerd Font) set as your terminal font.
them: `nvm`, `pyenv`, `bun`, `pnpm`, `deno`, `rustup`, `docker`, `fzf`,
`zoxide`, and a Nerd Font (JetBrains Mono Nerd Font) set as your terminal font.
-2
View File
@@ -1,2 +0,0 @@
background-opacity = 0.85
background-blur = true
-65
View File
@@ -6,68 +6,3 @@
gpgsign = true
[tag]
gpgSign = true
[init]
defaultBranch = main
[color]
ui = true
[core]
filemode = false
autocrlf = input
[credential "https://android.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://aomedia.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://beto-core.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://boringssl.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://chromium.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://chrome-internal.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://dawn.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://pdfium.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://quiche.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://skia.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://swiftshader.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://webrtc.googlesource.com"]
helper =
helper = luci
useHttpPath = yes
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[url "https://invent.kde.org/"]
insteadOf = kde:
[url "ssh://[email protected]/"]
pushInsteadOf = kde:
+2 -2
View File
@@ -1,3 +1,3 @@
default-cache-ttl 86400
max-cache-ttl 604800
default-cache-ttl 28800
max-cache-ttl 86400
pinentry-program /usr/bin/pinentry-qt
+5 -10
View File
@@ -8,10 +8,10 @@ set -euo pipefail
DOTFILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ZSH_CUSTOM="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"
# Fedora packages the dotfiles rely on (dnf skips ones already installed).
sudo dnf install -y \
stow git curl zsh gnupg2 pinentry-qt \
neovim ripgrep fd-find fzf zoxide wl-clipboard gcc make
command -v stow >/dev/null || {
echo "GNU Stow is required: sudo pacman -S stow (or your distro's equivalent)" >&2
exit 1
}
clone_if_missing() {
local url="$1" dst="$2"
@@ -56,17 +56,12 @@ mkdir -p "$HOME/.gnupg" && chmod 700 "$HOME/.gnupg"
stow_package zsh
stow_package gnupg
stow_package git
stow_package ghostty
stow_package kde
stow_package nvim
stow_package vscode
gpgconf --kill gpg-agent 2>/dev/null || true
cat <<'EOF'
Done. This does NOT install (grab these separately if missing):
- nvm, pyenv, bun, pnpm, deno, rustup, docker
- ghostty, lazygit, tree-sitter-cli, VS Code (not in Fedora's default repos)
- nvm, pyenv, bun, pnpm, deno, rustup, docker, fzf, zoxide
- a Nerd Font (JetBrains Mono Nerd Font) — set it as your terminal's font
Start a new shell to pick everything up: exec zsh
-4
View File
@@ -1,4 +0,0 @@
[Daemon]
Autolock=false
LockOnResume=false
Timeout=0
-8
View File
@@ -1,8 +0,0 @@
tt.*
.tests
doc/tags
debug
.repro
foo.*
*.log
data
-15
View File
@@ -1,15 +0,0 @@
{
"neodev": {
"library": {
"enabled": true,
"plugins": true
}
},
"neoconf": {
"plugins": {
"lua_ls": {
"enabled": true
}
}
}
}
-201
View File
@@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-2
View File
@@ -1,2 +0,0 @@
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
-38
View File
@@ -1,38 +0,0 @@
{
"LazyVim": { "branch": "main", "commit": "999700997f72227187d49d8b92667183dc7fc809" },
"blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"catppuccin": { "branch": "main", "commit": "edefef779ab08ce1a4a404713e3012b0d202bd35" },
"clangd_extensions.nvim": { "branch": "main", "commit": "78c2ecd659d54972be17aa6ba2deac3c53223b80" },
"conform.nvim": { "branch": "master", "commit": "016802de402556da54c36bd7359b441266b01cdd" },
"crates.nvim": { "branch": "main", "commit": "7039bc1d130e424232a7aa64ceddb170a154ff5b" },
"flash.nvim": { "branch": "main", "commit": "5f0f270fdc7c5b0c21d903ee85b9cb06f2ac636a" },
"friendly-snippets": { "branch": "main", "commit": "b4d01b0fdf3c9a549961c2f9ffe8dc09be166219" },
"gitsigns.nvim": { "branch": "main", "commit": "851a051e2bd2caba97e23314c68d69f1b1cf5d19" },
"grug-far.nvim": { "branch": "main", "commit": "11595bf747edc270bce2069d1020502ad4ae56cf" },
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
"lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "b3298993d55fa194279b5eb9dbfb3a43da65cadf" },
"mason.nvim": { "branch": "main", "commit": "2a6940af80375532e5e9e7c1f2fc6319a1b7a69d" },
"mini.ai": { "branch": "main", "commit": "c2c4278beb759aa24b9506f56a67186a6cc2209c" },
"mini.icons": { "branch": "main", "commit": "f642e3ba8c12afbc8f32f6d77ef6597eac56786f" },
"mini.pairs": { "branch": "main", "commit": "b1c5a726921b7a8c9321e9a7a208aa0571de5810" },
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
"nui.nvim": { "branch": "main", "commit": "10fc361835c856ba4233ef5ea135b919bf3dce97" },
"nvim-lint": { "branch": "master", "commit": "3d55c8f67c6ae5c15e1042571e107c7a3d5c5f4e" },
"nvim-lspconfig": { "branch": "master", "commit": "33497f4930d40f28a465d38a763a00fc6902c658" },
"nvim-treesitter": { "branch": "main", "commit": "e289100ff98969e118c702199d88b764ce9e7fdf" },
"nvim-treesitter-textobjects": { "branch": "main", "commit": "5c7b0263797dfd1bd6202f2b219f3b53a80b2187" },
"nvim-ts-autotag": { "branch": "main", "commit": "d7220b55e16ed3c04e88086256def5d282429493" },
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
"rustaceanvim": { "branch": "main", "commit": "a968f5133b8b24f481de12f08cd79420d1ace559" },
"snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" },
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
"ts-comments.nvim": { "branch": "main", "commit": "a59d6092213447450191122c9346f309161504cb" },
"venv-selector.nvim": { "branch": "main", "commit": "cc4bb3975de8835291f9bb45889e96c6b2795fc4" },
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
}
-10
View File
@@ -1,10 +0,0 @@
{
"extras": [
],
"install_version": 8,
"news": {
"NEWS.md": "11866"
},
"version": 8
}
-17
View File
@@ -1,17 +0,0 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
--
-- Add any additional autocmds here
-- with `vim.api.nvim_create_autocmd`
--
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
-- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")
-- enter terminal mode whenever a terminal buffer is focused
vim.api.nvim_create_autocmd({ "TermOpen", "BufEnter", "WinEnter" }, {
group = vim.api.nvim_create_augroup("term_autoinsert", { clear = true }),
pattern = "term://*",
callback = function()
vim.cmd("startinsert")
end,
})
-3
View File
@@ -1,3 +0,0 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
-60
View File
@@ -1,60 +0,0 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- language support (LSP, treesitter, formatters, debuggers)
{ import = "lazyvim.plugins.extras.lang.zig" },
{ import = "lazyvim.plugins.extras.lang.python" },
{ import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.go" },
{ import = "lazyvim.plugins.extras.lang.clangd" },
-- import/override with your plugins
{ import = "plugins" },
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
lazy = false,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
-- have outdated releases, which may break your Neovim install.
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "tokyonight", "habamax" } },
checker = {
enabled = true, -- check for plugin updates periodically
notify = false, -- notify on update
}, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins
disabled_plugins = {
"gzip",
-- "matchit",
-- "matchparen",
-- "netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})
-3
View File
@@ -1,3 +0,0 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-3
View File
@@ -1,3 +0,0 @@
indent_type = "Spaces"
indent_width = 2
column_width = 120
-62
View File
@@ -1,62 +0,0 @@
#!/bin/bash
GITHUB_USERNAME="andwati"
DESTINATION_FOLDER=~/dev
# Define colors
GREEN="\e[32m"
BLUE="\e[34m"
RED="\e[31m"
RESET="\e[0m"
clone_repositories() {
local parent_dir=$1
local repo_name=$2
# Clone the repository using GitHub CLI
echo -e "${BLUE}Cloning repository: $repo_name${RESET}"
if gh repo clone "$GITHUB_USERNAME/$repo_name" "$parent_dir/$repo_name"; then
echo -e "${GREEN}Successfully cloned: $repo_name${RESET}"
else
echo -e "${RED}Failed to clone: $repo_name${RESET}"
return
fi
# Move into the cloned repository folder
cd "$parent_dir/$repo_name" || exit
# If there are submodules, initialize and update them
if [ -f ".gitmodules" ]; then
echo -e "${BLUE}Initializing and updating submodules for: $repo_name${RESET}"
git submodule init
git submodule update
fi
}
main() {
# Ensure the destination folder exists
mkdir -p "$DESTINATION_FOLDER"
# Fetch the list of repositories for the user using GitHub CLI, including private and public repos
echo -e "${BLUE}Fetching repositories for user: $GITHUB_USERNAME${RESET}"
repos=$(gh repo list "$GITHUB_USERNAME" --visibility public --limit 100 --json name -q '.[].name')
private_repos=$(gh repo list "$GITHUB_USERNAME" --visibility private --limit 100 --json name -q '.[].name')
# Combine public and private repositories
repos="$repos $private_repos"
# Initialize progress variables
total_repos=$(echo "$repos" | wc -w)
count=0
# Loop through each repository and clone it
for repo in $repos; do
count=$((count + 1))
echo -e "${BLUE}Progress: [$count/$total_repos]${RESET}"
clone_repositories "$DESTINATION_FOLDER" "$repo"
done
echo -e "${GREEN}Cloning complete! ${RESET}"
}
main
-23
View File
@@ -1,23 +0,0 @@
{
"workbench.colorTheme": "Dark Modern",
"workbench.productIconTheme": "material-product-icons",
"workbench.iconTheme": "material-icon-theme",
"editor.fontFamily": "'JetBrainsMono Nerd Font','Droid Sans Mono', monospace",
"workbench.browser.searchEngine": "google",
"workbench.browser.openLocalhostLinks": false,
"diffEditor.renderSideBySide": true,
"diffEditor.useInlineViewWhenSpaceIsLimited": true,
"json.schemaDownload.trustedDomains": {
"https://biomejs.dev": true,
"https://developer.microsoft.com/json-schemas/": true,
"https://json-schema.org/": true,
"https://json.schemastore.org/": true,
"https://raw.githubusercontent.com/devcontainers/spec/": true,
"https://raw.githubusercontent.com/microsoft/vscode/": true,
"https://schemastore.azurewebsites.net/": true,
"https://www.schemastore.org/": true
},
"python.analysis.typeCheckingMode": "strict",
"git.autofetch": true,
"git.confirmSync": false
}
-4
View File
@@ -4,7 +4,3 @@ eval "$(pyenv init --path)"
# Created by `pipx` on 2026-07-26 14:32:10
export PATH="$PATH:/home/ian/.local/bin"
# Added by Antigravity CLI installer
export PATH="/home/ian/.local/bin:$PATH"
+18 -21
View File
@@ -3,6 +3,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Add deno completions to search path
if [[ ":$FPATH:" != *":$HOME/.zsh/completions:"* ]]; then export FPATH="$HOME/.zsh/completions:$FPATH"; fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
@@ -10,6 +11,21 @@ if [[ ":$FPATH:" != *":$HOME/.zsh/completions:"* ]]; then export FPATH="$HOME/.z
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# oh-my-zsh's own compinit call has no caching: it does a full completion
# rescan (~300ms here) on every single shell start. If we already have a
# same-day dump, load it the fast way ourselves and turn oh-my-zsh's later
# call into a no-op. On a stale/missing dump we do nothing here, so
# oh-my-zsh falls through to its normal (slow but correct) full rebuild.
# If completions ever look stale after changing `plugins=(...)`, run:
# rm -f ~/.zcompdump*; exec zsh
_zcompdump="${ZDOTDIR:-$HOME}/.zcompdump-${HOST/.*/}-${ZSH_VERSION}"
if [[ -n ${_zcompdump}(#qN.mh+24) ]]; then
autoload -Uz compinit
compinit -C -d "$_zcompdump"
compinit() { :; }
fi
unset _zcompdump
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time Oh My Zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
@@ -170,32 +186,13 @@ export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# pnpm
export PNPM_HOME="/home/ian/.local/share/pnpm"
export PNPM_HOME="$HOME/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME/bin:"*) ;;
*) export PATH="$PNPM_HOME/bin:$PATH" ;;
esac
# pnpm end
[ -s "$HOME/.deno/env" ] && . "$HOME/.deno/env"
# Created by `pipx` on 2026-07-26 14:32:10
export PATH="$PATH:/home/ian/.local/bin"
# Java 17 (Temurin via SDKMAN) and Android SDK, for Android Studio / Gradle builds.
export JAVA_HOME="$HOME/.sdkman/candidates/java/17.0.20-tem"
export ANDROID_HOME="$HOME/Android/Sdk"
export PATH="$JAVA_HOME/bin:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$PATH"
# Added by Antigravity CLI installer
export PATH="/home/ian/.local/bin:$PATH"
# Resend CLI
export PATH="$HOME/.resend/bin:$PATH"
export PATH="/home/ian/depot_tools:$PATH"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"