From 954f015587543bd325a9dae389e1088fa2d103b9 Mon Sep 17 00:00:00 2001 From: hellisabove Date: Sun, 14 Jan 2024 19:52:53 +0200 Subject: [PATCH] Updated zsh config and fixed mason error for neovim --- config/nvim/lua/lsp/mason.lua | 1 - zshrc | 13 ++++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/nvim/lua/lsp/mason.lua b/config/nvim/lua/lsp/mason.lua index eb75d0d..b2e4883 100644 --- a/config/nvim/lua/lsp/mason.lua +++ b/config/nvim/lua/lsp/mason.lua @@ -10,7 +10,6 @@ require("mason").setup({ require("mason-lspconfig").setup({ ensure_installed = { - "sumneko_lua", "clangd", "rust_analyzer", "vls", diff --git a/zshrc b/zshrc index ec82a20..c67122b 100644 --- a/zshrc +++ b/zshrc @@ -5,9 +5,16 @@ export GPG_TTY=$(tty) # Set aliases alias ls="eza -lh" -# Activate plugins -source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh -source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +# Activate plugins(for Arch) +source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +# Activate plugins(for other distros) +#source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh +#source /usr/share/sh-syntax-highlighting/zsh-syntax-highlighting.zsh + # Change prompt eval "$(starship init zsh)" + +[ -f /home/samsepi0l/.shelloracle.zsh ] && source /home/samsepi0l/.shelloracle.zsh