From 53ed61c7b3b8d74d2135381e7ea1e8556a2742f0 Mon Sep 17 00:00:00 2001 From: chodak166 Date: Sun, 19 Apr 2026 19:41:55 +0200 Subject: [PATCH] zshrc update --- .config/nvim/lua/config/options.lua | 14 ++++++++++++++ .dotfiles.d/init/init-nvim.sh | 5 +++-- .dotfiles.d/init/init-shell.sh | 2 ++ .zshrc | 1 + 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua index 3ea1454..4378953 100644 --- a/.config/nvim/lua/config/options.lua +++ b/.config/nvim/lua/config/options.lua @@ -1,3 +1,17 @@ -- 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 + +--- Disable hiding of markup +vim.opt.conceallevel = 0 + +--- Break lines at word boundaries +vim.opt.wrap = true +vim.opt.linebreak = true + +--- Copy the indent of the current line when inserting a new line +vim.opt.autoindent = true + +--- Disable the inlay hints (additional information about types and parameters names) because it clutters view + +vim.g.lazyvim_no_inlay_hints = true diff --git a/.dotfiles.d/init/init-nvim.sh b/.dotfiles.d/init/init-nvim.sh index 146d827..78a0010 100755 --- a/.dotfiles.d/init/init-nvim.sh +++ b/.dotfiles.d/init/init-nvim.sh @@ -9,11 +9,12 @@ sudo apt install -y \ ripgrep \ fd-find \ zoxide \ - fzf-lua + build-essential cd /tmp curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz -sudo rm -rf /opt/nvim-linux-x86_64\nsudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz +sudo rm -rf /opt/nvim-linux-x86_64 2>/dev/null || : +sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz rm nvim-linux-x86_64.tar.gz sudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/bin/nvim nvim --version diff --git a/.dotfiles.d/init/init-shell.sh b/.dotfiles.d/init/init-shell.sh index 5b8b35a..6da362d 100755 --- a/.dotfiles.d/init/init-shell.sh +++ b/.dotfiles.d/init/init-shell.sh @@ -6,6 +6,8 @@ SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" sudo apt update -y sudo apt install -y zsh eza unzip locales +sudo chsh -s $(which zsh) $USER + source "${SCRIPT_DIR}/ensure-locale.sh" cd ~ diff --git a/.zshrc b/.zshrc index 85d2182..0d75bd2 100644 --- a/.zshrc +++ b/.zshrc @@ -187,6 +187,7 @@ config config status.showUntrackedFiles no export TERM=xterm-256color export VCPKG_ROOT=/opt/vcpkg +export SHELL=$(which zsh) . "$HOME/.local/bin/env" 2>/dev/null