From be44a03173a1b8475c8970d773cc2e0d6e9bc117 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Wed, 8 Nov 2023 15:10:33 +0100 Subject: update --- .bashrc | 2 ++ .ripgreprc | 1 + bin/dw | 8 ++------ 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 .ripgreprc 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 -- cgit v1.2.3