diff options
| author | Marc Vertes <mvertes@free.fr> | 2023-11-08 15:10:33 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2023-11-08 15:10:33 +0100 |
| commit | be44a03173a1b8475c8970d773cc2e0d6e9bc117 (patch) | |
| tree | 8bfe01715be2b16e723617410daecdd2df026ed1 | |
| parent | bdb09c08d24f4bb4e1acbd50fc1eb236d5c78cbe (diff) | |
update
| -rw-r--r-- | .bashrc | 2 | ||||
| -rw-r--r-- | .ripgreprc | 1 | ||||
| -rwxr-xr-x | bin/dw | 8 |
3 files changed, 5 insertions, 6 deletions
@@ -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 @@ -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 |
