[RG][ZSH] Add ripgrep config skipping *venv dirs (non-shared only)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6522f993e1
commit
1eac402bb2
4 files changed
+12
-2
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Loaded via RIPGREP_CONFIG_PATH (zsh/.zshrc, non-shared only). Hidden dirs
|
||||
# (.venv, .claude, .codex) are skipped by default. -uu doesn't undo the
|
||||
# globs: use --no-config.
|
||||
--smart-case
|
||||
--glob=!*venv/
|
||||
--glob=!node_modules/
|
||||
--glob=!__pycache__/
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
sudo pacman --needed -Sy archlinux-keyring --noconfirm
|
||||
sudo pacman --needed -Syu --noconfirm
|
||||
sudo pacman --needed -Sy base-devel xorg xorg-xinit gnome gnome-extra neovim zsh tmux openssh alacritty powerline-fonts python-pip --noconfirm
|
||||
sudo pacman --needed -Sy base-devel xorg xorg-xinit gnome gnome-extra neovim zsh tmux openssh alacritty powerline-fonts python-pip ripgrep --noconfirm
|
||||
cp $PWD/nvim/scheme.vim.template $PWD/nvim/scheme.vim
|
||||
cp $PWD/.config/alacritty/schemes.yml.template $PWD/.config/alacritty/schemes.yml
|
||||
pip3 install neovim
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ shopt -s nullglob
|
||||
|
||||
sudo apt -y update
|
||||
sudo apt -y dist-upgrade
|
||||
sudo apt -y install curl zsh tmux virtualenvwrapper powerline fonts-powerline python3 python3-pip python3-pynvim fzf
|
||||
sudo apt -y install curl zsh tmux virtualenvwrapper powerline fonts-powerline python3 python3-pip python3-pynvim fzf ripgrep
|
||||
sudo snap install --classic nvim
|
||||
|
||||
# VMs: the guest agent lets the hypervisor read OS info (virsh guestinfo --os)
|
||||
|
||||
@@ -61,6 +61,9 @@ if (( $+commands[fzf] && ! shared_config )); then
|
||||
fi
|
||||
unset _fzf_init
|
||||
fi
|
||||
if (( ! shared_config )) && [[ -r ~/dotfiles/.config/ripgrep/config ]]; then
|
||||
export RIPGREP_CONFIG_PATH=~/dotfiles/.config/ripgrep/config
|
||||
fi
|
||||
|
||||
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
||||
if (( ! shared_config )); then
|
||||
|
||||
Reference in new issue
Block a user