config: add ripgrep
parent
4f0c2e0a3f
commit
3370596b60
|
@ -38,6 +38,10 @@ url = "https://github.com/DinkDonk/kitty-icon/blob/main/kitty-light.icns?raw=tru
|
|||
internal = "data/wezterm"
|
||||
external = "~/.config/wezterm"
|
||||
|
||||
[[apps.fd.paths]]
|
||||
internal = "data/fd/.ignore"
|
||||
external = "~/.ignore"
|
||||
|
||||
[[apps.bat.paths]]
|
||||
internal = "data/bat"
|
||||
external = "~/.config/bat"
|
||||
|
@ -46,9 +50,9 @@ external = "~/.config/bat"
|
|||
internal = "data/bat/themes/Catppuccin-mocha.tmTheme"
|
||||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme"
|
||||
|
||||
[[apps.fd.paths]]
|
||||
internal = "data/fd/.ignore"
|
||||
external = "~/.ignore"
|
||||
[[apps.ripgrep.paths]]
|
||||
internal = "data/ripgrep"
|
||||
external = "~/.config/ripgrep"
|
||||
|
||||
[[apps.tmux.paths]]
|
||||
internal = "data/tmux"
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
--smart-case
|
||||
|
||||
--context=5
|
||||
|
||||
--auto-hybrid-regex
|
|
@ -49,6 +49,11 @@ alias g="git"
|
|||
alias moe="make"
|
||||
alias meo="make"
|
||||
|
||||
# https://github.com/BurntSushi/ripgrep
|
||||
if command -v rg &>/dev/null; then
|
||||
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/ripgreprc"
|
||||
fi
|
||||
|
||||
# https://github.com/eza-community/eza
|
||||
if command -v eza &>/dev/null; then
|
||||
alias ls="eza"
|
||||
|
|
|
@ -3,12 +3,14 @@
|
|||
rustup update
|
||||
|
||||
cargo install --locked \
|
||||
fd-find bat ripgrep git-delta eza tealdeer \
|
||||
fd-find bat git-delta eza tealdeer \
|
||||
difftastic vivid zellij zoxide \
|
||||
fnm stylua taplo-cli \
|
||||
pfetch pokeget \
|
||||
daktilo kbt
|
||||
|
||||
cargo install --locked ripgrep --features 'pcre2'
|
||||
|
||||
bat cache --build
|
||||
|
||||
pokeget --hide-name pikachu >data/pokeget/pikachu.txt
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cargo install --force --locked \
|
||||
fd-find bat ripgrep git-delta eza tealdeer \
|
||||
fd-find bat git-delta eza tealdeer \
|
||||
difftastic vivid zellij zoxide \
|
||||
fnm stylua taplo-cli \
|
||||
pfetch pokeget \
|
||||
daktilo kbt
|
||||
|
||||
cargo install --force --locked ripgrep --features 'pcre2'
|
||||
|
|
Loading…
Reference in New Issue