feat: use nvim exrc and adds gcd and cleans up bad oh my zsh plugin

This commit is contained in:
Deepak Mallubhotla 2025-02-25 20:24:18 +00:00
parent 0749eda4c2
commit 65a467b369
Signed by: deepak
GPG Key ID: 47831B15427F5A55
2 changed files with 4 additions and 1 deletions

View File

@ -130,6 +130,7 @@
shellAliases = { shellAliases = {
doo="./do.sh"; doo="./do.sh";
wttr="curl wttr.in"; wttr="curl wttr.in";
gcd="_t=$(git rev-parse --show-toplevel) && cd \"$_t\" && pwd";
}; };
history = { history = {
size = 10000; size = 10000;
@ -138,7 +139,6 @@
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [
"git"
"poetry" "poetry"
"themes" "themes"
"emoji-clock" "emoji-clock"

View File

@ -18,6 +18,9 @@ vim.opt.relativenumber = true
vim.opt.ignorecase = true vim.opt.ignorecase = true
vim.opt.smartcase = true vim.opt.smartcase = true
-- scary hopefully secure in neovim
vim.opt.exrc = true
vim.opt.spell = true vim.opt.spell = true
vim.opt.spelllang = 'en_gb' vim.opt.spelllang = 'en_gb'