28 Commits
Author SHA1 Message Date
andwati 67fff22a05 feat(nvim): auto-enter terminal mode on terminal focus 2026-10-07 08:54:28 +03:00
andwati 71d06b8c41 chore(nvim): track lazyvim.json 2026-10-07 08:43:09 +03:00
andwati 51496a99e7 chore(git): set core.autocrlf to input 2026-10-07 08:42:36 +03:00
andwati ad4c79ab26 feat: stow ghostty, kde, nvim, vscode in install.sh and document the theme 2026-10-07 08:39:34 +03:00
andwati ee9745e322 feat(nvim): enable transparent background for terminal blur 2026-10-07 08:38:13 +03:00
andwati 6ca122c090 feat(nvim): add LazyVim with Everforest and LSP for zig, python, ts, rust, go, c/cpp 2026-10-07 08:37:01 +03:00
andwati 3a88e736d7 chore(chrome): ignore generated Cached Theme.pak 2026-10-07 08:22:38 +03:00
andwati 1049ec63df Revert "feat(firefox): add Everforest dark browser theme"
This reverts commit f4d64fc8ed.
2026-10-07 08:22:34 +03:00
andwati f4d64fc8ed feat(firefox): add Everforest dark browser theme 2026-10-07 08:21:36 +03:00
andwati 97087ae79e feat(chrome): add Everforest dark browser theme 2026-10-07 08:19:32 +03:00
andwati 5a9efe5e5a feat(kde): track lock screen wallpaper config 2026-10-07 08:15:53 +03:00
andwati 3145c6968b Revert "feat(kde): add Colloid-dark translucent Plasma theme"
This reverts commit 6d44016cda.
2026-10-06 19:43:35 +03:00
andwati 6d44016cda feat(kde): add Colloid-dark translucent Plasma theme 2026-10-06 19:42:33 +03:00
andwati 5da9d952ca feat(kde): add Everforest wallpaper 2026-10-06 19:42:33 +03:00
andwati 79ffebb1de feat(theme): use Everforest scheme and matching ghostty theme 2026-10-06 17:02:07 +03:00
andwati d9517de823 feat(theme): add Everforest dark medium for ghostty and KDE 2026-10-06 16:57:57 +03:00
andwati 344a400b20 updates 2026-09-15 08:16:38 +03:00
andwati e5f3bd56a7 chore(gnupg): extend gpg-agent passphrase cache to reduce pinentry prompts
default-cache-ttl 8h -> 24h, max-cache-ttl 24h -> 7d.
2026-08-12 13:45:20 +03:00
andwati e3a4c4d9fb fix(zsh): remove buggy compinit caching hack causing broken tab completion
The custom fast-path check used an inverted glob qualifier (mh+24 matches
stale dumps, not fresh ones), so on a stale dump it ran `compinit -C`
against the same file oh-my-zsh uses, producing a near-empty completions
cache instead of a real one. Also drops the redundant compinit call the
deno installer appended, since oh-my-zsh already handles it.

Also picks up pending drift: deno FPATH/env sourcing, pnpm home path,
and git init.defaultBranch.
2026-08-12 13:37:50 +03:00
andwatiandGitHub 7883a71a4c Update repo_sync.sh 2026-08-09 18:04:24 +03:00
andwatiandGitHub 67d0202c12 Update repo_sync.sh 2026-08-09 18:04:01 +03:00
andwatiandGitHub 9fe219a209 Add script to clone GitHub repositories 2026-08-09 18:03:30 +03:00
andwatiandGitHub 391ba10516 Merge pull request #2 from andwati/fix/nvm-lazy-load-reliability
fix(zsh): stop lazy-loading nvm, source it eagerly instead
2026-08-04 12:26:47 +03:00
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
29 changed files with 2883 additions and 1 deletions
+51 -1
View File
@@ -1,2 +1,52 @@
# dotfiles # dotfiles
My configuration configuration files that keep me from flipping a table after logging in.
My configuration files that keep me from flipping a table after logging in.
## Setup
```
sudo pacman -S stow # or your distro's equivalent
git clone https://github.com/andwati/dotfiles ~/dev/dotfiles
~/dev/dotfiles/install.sh
```
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`).
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`.
`gpg-agent.conf` caches your GPG passphrase for 8 hours (24h hard cap)
instead of the 10-minute default, so signed commits don't re-prompt
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`, `fzf`,
`zoxide`, and a Nerd Font (JetBrains Mono Nerd Font) set as your terminal font.
## Everforest theme
The desktop is themed with [Everforest](https://github.com/sainnhe/everforest)
(dark, medium; background `#2b3339`):
- `kde` — `Everforest` color scheme, wallpaper, and the lock screen wallpaper
(`kscreenlockerrc`). Select the scheme in System Settings > Colors.
- `ghostty` — `everforest-dark` theme with background opacity and blur (needs
KWin's Blur effect on Plasma).
- `nvim` — LazyVim with `neanias/everforest-nvim` (transparent background) and
LSP for zig, python, typescript, rust, go, c and c++.
- `vscode` — user `settings.json` (Everforest Dark via the
`reesew.everforest-theme` extension).
- `chrome/everforest` — not stowed. Open `chrome://extensions`, enable
Developer mode, and Load unpacked on that folder.
The Plasma Login Manager screen is root-owned and can't be stowed: pick the
wallpaper and sync colors in System Settings > Login Screen after changing the
scheme. Firefox uses the Everforest Dark Medium theme from addons.mozilla.org.
+1
View File
@@ -0,0 +1 @@
Cached Theme.pak
+29
View File
@@ -0,0 +1,29 @@
{
"manifest_version": 3,
"name": "Everforest Dark",
"version": "1.0",
"description": "Everforest dark theme matching the desktop palette (bg #2b3339).",
"theme": {
"colors": {
"frame": [35, 42, 46],
"frame_inactive": [35, 42, 46],
"frame_incognito": [30, 35, 38],
"frame_incognito_inactive": [30, 35, 38],
"toolbar": [43, 51, 57],
"toolbar_text": [211, 198, 170],
"toolbar_button_icon": [167, 192, 128],
"tab_text": [211, 198, 170],
"tab_background_text": [133, 146, 137],
"bookmark_text": [211, 198, 170],
"button_background": [52, 63, 68],
"omnibox_background": [52, 63, 68],
"omnibox_text": [211, 198, 170],
"background_tab": [35, 42, 46],
"background_tab_inactive": [35, 42, 46],
"ntp_background": [43, 51, 57],
"ntp_text": [211, 198, 170],
"ntp_link": [167, 192, 128],
"ntp_header": [61, 72, 77]
}
}
}
+3
View File
@@ -0,0 +1,3 @@
theme = everforest-dark
background-opacity = 0.85
background-blur = true
@@ -0,0 +1,22 @@
palette = 0=#475258
palette = 1=#e67e80
palette = 2=#a7c080
palette = 3=#dbbc7f
palette = 4=#7fbbb3
palette = 5=#d699b6
palette = 6=#83c092
palette = 7=#d3c6aa
palette = 8=#859289
palette = 9=#e67e80
palette = 10=#a7c080
palette = 11=#dbbc7f
palette = 12=#7fbbb3
palette = 13=#d699b6
palette = 14=#83c092
palette = 15=#9da9a0
background = #2b3339
foreground = #d3c6aa
cursor-color = #d3c6aa
cursor-text = #2b3339
selection-background = #543a48
selection-foreground = #d3c6aa
+63
View File
@@ -0,0 +1,63 @@
[user]
name = andwati
email = [email protected]
signingkey = 1F20FED0AA05B0DA
[commit]
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
+3
View File
@@ -0,0 +1,3 @@
default-cache-ttl 86400
max-cache-ttl 604800
pinentry-program /usr/bin/pinentry-qt
Executable
+75
View File
@@ -0,0 +1,75 @@
#!/usr/bin/env bash
# Bootstraps dotfiles on a new machine: installs oh-my-zsh + the custom
# theme/plugins .zshrc expects, then symlinks packages into $HOME via
# GNU Stow (each top-level dir is a package mirroring $HOME, e.g.
# zsh/.zshrc -> ~/.zshrc). Add a new package by adding a new top-level dir.
set -euo pipefail
DOTFILES_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ZSH_CUSTOM="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"
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"
[ -d "$dst" ] || git clone --depth=1 "$url" "$dst"
}
if [ ! -d "$HOME/.oh-my-zsh" ]; then
echo "Installing oh-my-zsh..."
RUNZSH=no CHSH=no KEEP_ZSHRC=yes sh -c \
"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
clone_if_missing https://github.com/romkatv/powerlevel10k.git "$ZSH_CUSTOM/themes/powerlevel10k"
clone_if_missing https://github.com/zsh-users/zsh-autosuggestions "$ZSH_CUSTOM/plugins/zsh-autosuggestions"
clone_if_missing https://github.com/zsh-users/zsh-syntax-highlighting.git "$ZSH_CUSTOM/plugins/zsh-syntax-highlighting"
clone_if_missing https://github.com/zsh-users/zsh-history-substring-search "$ZSH_CUSTOM/plugins/zsh-history-substring-search"
clone_if_missing https://github.com/zsh-users/zsh-completions "$ZSH_CUSTOM/plugins/zsh-completions"
clone_if_missing https://github.com/MichaelAquilina/zsh-you-should-use "$ZSH_CUSTOM/plugins/you-should-use"
# Stow refuses to link over a real (non-symlink) file, so move any
# conflicting pre-existing file aside first (e.g. the .zshrc oh-my-zsh's
# own installer just wrote above).
stow_package() {
local pkg="$1" f rel target
while IFS= read -r -d '' f; do
rel="${f#"$DOTFILES_DIR/$pkg/"}"
target="$HOME/$rel"
if [ -L "$target" ]; then
rm "$target"
elif [ -e "$target" ]; then
mkdir -p "$(dirname "$target")"
mv "$target" "$target.bak.$(date +%s)"
echo "Backed up existing $target"
fi
done < <(find "$DOTFILES_DIR/$pkg" -type f -print0)
stow --dir="$DOTFILES_DIR" --target="$HOME" --restow "$pkg"
echo "Stowed $pkg"
}
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, fzf, zoxide
- ghostty, neovim (+ fd, lazygit, tree-sitter-cli, wl-clipboard), VS Code
- Colloid Everforest GTK/icon themes (AUR: colloid-everforest-gtk-theme-git,
colloid-everforest-theme-git)
- a Nerd Font (JetBrains Mono Nerd Font) — set it as your terminal's font
Start a new shell to pick everything up: exec zsh
EOF
+11
View File
@@ -0,0 +1,11 @@
[Daemon]
Autolock=false
LockOnResume=false
Timeout=0
[Greeter]
WallpaperPlugin=org.kde.image
[Greeter][Wallpaper][org.kde.image][General]
Image=file:///home/ian/.local/share/wallpapers/everforest/1-tree-tops.webp
PreviewImage=file:///home/ian/.local/share/wallpapers/everforest/1-tree-tops.webp
@@ -0,0 +1,108 @@
[ColorEffects:Disabled]
Color=47,56,62
ColorAmount=0.75
ColorEffect=3
ContrastAmount=0.65
ContrastEffect=0
IntensityAmount=0.1
IntensityEffect=0
[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=47,56,62
ColorAmount=0.47500000000000003
ColorEffect=2
ContrastAmount=0.1
ContrastEffect=0
Enable=true
IntensityAmount=0.1
IntensityEffect=0
[Colors:Button]
BackgroundAlternate=64,69,82
BackgroundNormal=55,66,71
DecorationFocus=167,192,128
DecorationHover=167,192,128
ForegroundActive=167,192,128
ForegroundInactive=122,132,120
ForegroundLink=127,187,179
ForegroundNegative=230,126,128
ForegroundNeutral=219,188,127
ForegroundNormal=211,198,170
ForegroundPositive=141,161,1
ForegroundVisited=214,153,182
[Colors:Complementary]
BackgroundNormal=42,46,50
[Colors:Selection]
BackgroundAlternate=147,178,89
BackgroundNormal=167,192,128
DecorationFocus=167,192,128
DecorationHover=167,192,128
ForegroundActive=47,56,62
ForegroundInactive=122,132,120
ForegroundLink=127,187,179
ForegroundNegative=230,126,128
ForegroundNeutral=219,188,127
ForegroundNormal=47,56,62
ForegroundPositive=141,161,1
ForegroundVisited=214,153,182
[Colors:Tooltip]
BackgroundAlternate=47,52,63
BackgroundNormal=55,66,71
DecorationFocus=167,192,128
DecorationHover=167,192,128
ForegroundActive=167,192,128
ForegroundInactive=122,132,120
ForegroundLink=127,187,179
ForegroundNegative=230,126,128
ForegroundNeutral=219,188,127
ForegroundNormal=211,198,170
ForegroundPositive=141,161,1
ForegroundVisited=214,153,182
[Colors:View]
BackgroundAlternate=55,66,71
BackgroundNormal=43,51,57
DecorationFocus=167,192,128
DecorationHover=167,192,128
ForegroundActive=167,192,128
ForegroundInactive=122,132,120
ForegroundLink=127,187,179
ForegroundNegative=230,126,128
ForegroundNeutral=219,188,127
ForegroundNormal=211,198,170
ForegroundPositive=141,161,1
ForegroundVisited=214,153,182
[Colors:Window]
BackgroundAlternate=55,66,71
BackgroundNormal=47,56,62
DecorationFocus=167,192,128
DecorationHover=167,192,128
ForegroundActive=167,192,128
ForegroundInactive=122,132,120
ForegroundLink=127,187,179
ForegroundNegative=230,126,128
ForegroundNeutral=219,188,127
ForegroundNormal=211,198,170
ForegroundPositive=141,161,1
ForegroundVisited=214,153,182
[General]
ColorScheme=Everforest
Name=Everforest
shadeSortColumn=true
[KDE]
contrast=4
[WM]
activeBackground=47,56,62
activeBlend=47,56,62
activeForeground=211,198,170
inactiveBackground=47,56,62
inactiveBlend=47,56,62
inactiveForeground=122,132,120
Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

+8
View File
@@ -0,0 +1,8 @@
tt.*
.tests
doc/tags
debug
.repro
foo.*
*.log
data
+15
View File
@@ -0,0 +1,15 @@
{
"neodev": {
"library": {
"enabled": true,
"plugins": true
}
},
"neoconf": {
"plugins": {
"lua_ls": {
"enabled": true
}
}
}
}
+201
View File
@@ -0,0 +1,201 @@
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
@@ -0,0 +1,2 @@
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
+39
View File
@@ -0,0 +1,39 @@
{
"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" },
"everforest-nvim": { "branch": "main", "commit": "a0e9edc57379e8feafc6ba207c26dbb12fc1b6d8" },
"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
@@ -0,0 +1,10 @@
{
"extras": [
],
"install_version": 8,
"news": {
"NEWS.md": "11866"
},
"version": 8
}
+17
View File
@@ -0,0 +1,17 @@
-- 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
@@ -0,0 +1,3 @@
-- 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
@@ -0,0 +1,60 @@
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
@@ -0,0 +1,3 @@
-- 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
@@ -0,0 +1,19 @@
return {
{
"neanias/everforest-nvim",
lazy = false,
priority = 1000,
config = function()
require("everforest").setup({
background = "medium",
transparent_background_level = 2,
})
end,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "everforest",
},
},
}
+3
View File
@@ -0,0 +1,3 @@
indent_type = "Spaces"
indent_width = 2
column_width = 120
+62
View File
@@ -0,0 +1,62 @@
#!/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
@@ -0,0 +1,23 @@
{
"workbench.colorTheme": "Everforest Dark",
"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
}
+1841
View File
File diff suppressed because it is too large Load Diff
+10
View File
@@ -0,0 +1,10 @@
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
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"
+1
View File
@@ -0,0 +1 @@
. "$HOME/.cargo/env"
+200
View File
@@ -0,0 +1,200 @@
# Add deno completions to search path
if [[ ":$FPATH:" != *":/home/ian/.zsh/completions:"* ]]; then export FPATH="/home/ian/.zsh/completions:$FPATH"; fi
# Enable Powerlevel10k instant prompt. Must stay close to the top of ~/.zshrc.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
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
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# 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
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git sudo extract archlinux docker docker-compose fzf
zsh-completions you-should-use
zsh-autosuggestions zsh-syntax-highlighting zsh-history-substring-search
)
source $ZSH/oh-my-zsh.sh
# To customize the prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Up/Down arrows filter history by what's already typed, not just cycle it.
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
# zoxide: smarter `cd` that learns frequently/recently used directories.
command -v zoxide >/dev/null && eval "$(zoxide init zsh)"
# User configuration
# Needed for gpg-agent to prompt on the right terminal when pinentry falls
# back to a tty (e.g. pinentry-curses); harmless no-op with pinentry-qt.
export GPG_TTY=$(tty)
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='nvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch $(uname -m)"
# Set personal aliases, overriding those provided by Oh My Zsh libs,
# plugins, and themes. Aliases can be placed here, though Oh My Zsh
# users are encouraged to define aliases within a top-level file in
# the $ZSH_CUSTOM folder, with .zsh extension. Examples:
# - $ZSH_CUSTOM/aliases.zsh
# - $ZSH_CUSTOM/macos.zsh
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# eza: colourful, icon-rich listings that stay clean when piped.
alias ls='eza --color=auto --icons=auto --hyperlink=auto --group-directories-first'
alias l='eza -lah --git --color-scale=all --color=auto --icons=auto --hyperlink=auto --group-directories-first'
alias ll='eza -lh --git --color-scale=all --color=auto --icons=auto --hyperlink=auto --group-directories-first'
alias la='eza -lAh --git --color-scale=all --color=auto --icons=auto --hyperlink=auto --group-directories-first'
alias lt='eza --tree --level=2 --color=auto --icons=auto --hyperlink=auto --group-directories-first'
# nvm: the lazy-load stub (wrapper functions deferring to a helper that
# sourced nvm.sh on first real use) was unreliable in some non-interactive
# shell contexts, where the wrapper could run without the helper function
# being defined yet. Sourcing eagerly costs 300-700ms on shell startup but
# always works.
export NVM_DIR="$HOME/.nvm"
() {
# oh-my-zsh sets extendedglob, which breaks nvm's `lts/*`-style alias
# globs and silently kills auto-activation of the default version.
# local_options scopes this to the anonymous function, restoring the
# prior setting once nvm.sh is sourced.
setopt local_options no_extended_glob
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
}
# Lazy-load pyenv's shell integration (~130-150ms here). Shims are
# already on PATH via .zprofile, so `python`/`pip` work immediately
# without this; it's only needed for `pyenv shell/activate/...` and
# completions, which this loads for real on first actual `pyenv` call.
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
pyenv() {
unfunction pyenv
eval "$(command pyenv init - zsh)"
pyenv "$@"
}
# bun completions
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# pnpm
export PNPM_HOME="/home/ian/.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"
. "/home/ian/.deno/env"
# Java (Amazon Corretto 21) and Android SDK, for Android Studio / Gradle builds.
export JAVA_HOME="/usr/lib/jvm/java-21-amazon-corretto"
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"