summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-06 05:42:47 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-06 05:42:47 +0100
commitabb16565c42b5dc678fc9cd3d165462563bba2f0 (patch)
tree3a09dbc44ce12ecd1dc5eef1267a08e8be549feb
parent970923aa158ec1403db11fc8cc57d1cab86c8710 (diff)
Ag is back to being the default searcher
-rw-r--r--bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 557de12..a87f0d5 100644
--- a/bashrc
+++ b/bashrc
@@ -148,7 +148,8 @@ export LEDGER_FILE="$HOME/Budget/ledger/hledger/budget.ledger"
export LESS="-iMRS -x2"
export NOTES_DIR="~/Documents/Notes"
export RANGER_LOAD_DEFAULT_RC="FALSE"
-export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' "
+# export FZF_DEFAULT_COMMAND="rg --files --hidden --glob '!.git' "
+export FZF_DEFAULT_COMMAND='ag -l --path-to-ignore ~/.ignore --nocolor --hidden -g ""'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_DEFAULT_OPTS="--color info:108,prompt:109,spinner:108,pointer:168,marker:168"