Compare commits

...

6 Commits

5 changed files with 7 additions and 8 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
local
logs
files/pallav
home/.config/nvim/lazy-lock.json
home/.local
home/.cache

0
.gitmodules vendored
View File

View File

@ -13,7 +13,7 @@ ctr=$(buildah from archlinux)
buildah run "$ctr" -- bash -c "\
pacman -Sy --noconfirm && pacman -S --noconfirm --needed base-devel neovim git fish tmux \
nodejs python podman fzf fd ripgrep jdk-openjdk fisher yazi less \
nodejs python podman fzf fd ripgrep jdk-openjdk fisher yazi less buildah \
lazygit luarocks python-pynvim npm bash-completion tree-sitter-cli kitty-terminfo \
lua51 openssh && pacman -Scc --noconfirm && groupadd secproc && groupadd -g $DEV_GID $DEV_USER && \
useradd -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER && mkdir -m 511 -p $SECURE
@ -37,7 +37,6 @@ buildah run --user "$DEV_USER" "$ctr" -- fish -c '
jorgebucaran/autopair.fish \
gazorby/fish-abbreviation-tips \
jethrokuan/z;
for i in 1 2 3; nvim --headless "+Lazy! sync" +qa; sleep 1; end
'
# lock the files

View File

@ -1,4 +1,3 @@
local is_headless = #vim.api.nvim_list_uis() == 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"
@ -31,7 +30,7 @@ require("lazy").setup({
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { missing = not is_headless, colorscheme = { "tokyonight", "habamax" } },
install = { missing = true, colorscheme = { "tokyonight", "habamax" } },
checker = {
enabled = false, -- check for plugin updates periodically
notify = false, -- notify on update

View File

@ -1,7 +1,7 @@
#!/bin/bash
XDG_CONFIG_HOME="$PWD/home/.config" \
XDG_DATA_HOME="$PWD/local/share" \
XDG_STATE_HOME="$PWD/local/state" \
XDG_CACHE_HOME="$PWD/local/cache" \
XDG_DATA_HOME="$PWD/home/.local/share" \
XDG_STATE_HOME="$PWD/home/.local/state" \
XDG_CACHE_HOME="$PWD/home/.cache" \
nvim