mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 19:30:51 +01:00
meta: Replace ripgrep config with alias
Stowing an entire config directory for one line was too funny to not change, so I converted it to an alias instead.
This commit is contained in:
parent
917e50c37f
commit
ae900bda97
@ -6,7 +6,6 @@ set -U fish_greeting ""
|
||||
export VISUAL="nvim"
|
||||
export EDITOR="nvim"
|
||||
export PATH="$HOME/.deno/bin:$HOME/.cargo/bin:$HOME/.yarn/bin:$HOME/.local/bin:$HOME/.go/bin:$PATH"
|
||||
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
|
||||
export NODE_OPTIONS="--max_old_space_size=16384"
|
||||
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||
export GOPATH="$HOME/.go"
|
||||
@ -40,6 +39,9 @@ function https
|
||||
/usr/bin/https "$argv" "User-Agent: "
|
||||
end
|
||||
|
||||
# Don't show ripgrep results for very long lines (e.g. minified files)
|
||||
alias rg="rg --max-columns=200"
|
||||
|
||||
# Use exa as a drop-in replacement for ls and tree (faster, more colors, etc.)
|
||||
alias ls="exa --group-directories-first -I 'lost+found'"
|
||||
alias tree="exa --group-directories-first --long --tree -I 'node_modules|.git|public|lost+found'"
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Don't show results for very long lines (e.g. minified files)
|
||||
--max-columns=200
|
@ -1,15 +0,0 @@
|
||||
# ripgrep
|
||||
|
||||
[ripgrep][ripgrep] is a modern version of grep.
|
||||
|
||||
## Use Cases
|
||||
|
||||
ripgrep can be used to:
|
||||
|
||||
- Search for strings in projects
|
||||
|
||||
You should not use ripgrep if:
|
||||
|
||||
- You should use ripgrep.
|
||||
|
||||
[ripgrep]: https://github.com/BurntSushi/ripgrep
|
Loading…
Reference in New Issue
Block a user