feat: Adds ripgrep to dev run, adds chsh to system script.

This commit is contained in:
2025-11-08 22:21:13 -05:00
parent d172a0071b
commit 5811d5602b
4 changed files with 50 additions and 51 deletions

View File

@@ -121,7 +121,6 @@ vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
callback = function(args) callback = function(args)
local first_line = vim.api.nvim_buf_get_lines(args.buf, 0, 1, false)[1] or "" local first_line = vim.api.nvim_buf_get_lines(args.buf, 0, 1, false)[1] or ""
if first_line:match("^#!.*zsh") then if first_line:match("^#!.*zsh") then
-- vim.bo[args.buf].filetype = "bash"
vim.cmd.setlocal("filetype=bash") vim.cmd.setlocal("filetype=bash")
end end
end, end,
@@ -145,8 +144,6 @@ vim.api.nvim_create_autocmd("BufEnter", {
pattern = "neomutt*", pattern = "neomutt*",
group = vim.api.nvim_create_augroup('my.neomutt', defaultopts), group = vim.api.nvim_create_augroup('my.neomutt', defaultopts),
callback = function(_) callback = function(_)
-- HACK: Set filetype to markdown for '.md' files.
-- Not sure why it doesn't detect these as markdown files, but this fixes the issue.
vim.cmd.setlocal("filetype=markdown") vim.cmd.setlocal("filetype=markdown")
vim.cmd.setlocal("textwidth=120") vim.cmd.setlocal("textwidth=120")
vim.cmd.setlocal("spell spelllang=en_us") vim.cmd.setlocal("spell spelllang=en_us")

View File

@@ -22,12 +22,12 @@ yay -S --noconfirm --needed \
nodejs \ nodejs \
npm \ npm \
pcre2 \ pcre2 \
ripgrep \
starship \ starship \
tldr \ tldr \
tmux \ tmux \
tree-sitter-cli \ tree-sitter-cli \
zoxide \ zoxide
zsh
# Fonts # Fonts
yay -S --noconfirm \ yay -S --noconfirm \

View File

@@ -8,4 +8,5 @@ yay ${1:-"-S --noconfirm"} catppuccin-gtk-theme-mocha \
swaync \ swaync \
yubikey-manager \ yubikey-manager \
nfs-utils \ nfs-utils \
firewalld firewalld \
zsh

1
system
View File

@@ -29,6 +29,7 @@ log_and_run() {
fi fi
} }
log_and_run "sudo chsh --shell $(which zsh)"
log_and_run "systemctl --user daemon-reload" log_and_run "systemctl --user daemon-reload"
log_and_run "systemctl --user enable --now hyprpaper.service" log_and_run "systemctl --user enable --now hyprpaper.service"
log_and_run "systemctl --user enable --now hypridle.service" log_and_run "systemctl --user enable --now hypridle.service"