summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rw-r--r--.ripgreprc1
-rwxr-xr-xbin/dw8
3 files changed, 5 insertions, 6 deletions
diff --git a/.bashrc b/.bashrc
index 46a1c94..56653da 100644
--- a/.bashrc
+++ b/.bashrc
@@ -159,6 +159,8 @@ meteo() {
#unset base
export FZF_DEFAULT_COMMAND='rg -i --files --ignore-vcs --hidden'
+export RIPGREP_CONFIG_PATH=~/.ripgreprc
+
eval "$(zoxide init bash)"
# Arch: display package to install for missing commands
diff --git a/.ripgreprc b/.ripgreprc
new file mode 100644
index 0000000..e51ef46
--- /dev/null
+++ b/.ripgreprc
@@ -0,0 +1 @@
+--smart-case
diff --git a/bin/dw b/bin/dw
index b000d58..35e0863 100755
--- a/bin/dw
+++ b/bin/dw
@@ -1,10 +1,6 @@
#!/bin/sh
# Execute given command when current dir content changes.
-#
-trap exit SIGINT
-while true; do
- fswatch -1 . >/dev/null 2>&1
- "$@"
-done
+trap exit SIGINT
+while true; do "$@"; fswatch -1 . >/dev/null 2>&1; done