Browse Source

zshrc update

master
chodak166 2 months ago
parent
commit
53ed61c7b3
  1. 14
      .config/nvim/lua/config/options.lua
  2. 5
      .dotfiles.d/init/init-nvim.sh
  3. 2
      .dotfiles.d/init/init-shell.sh
  4. 1
      .zshrc

14
.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

5
.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

2
.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 ~

1
.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

Loading…
Cancel
Save