From 2dad31496b5654b59d2345ae29d2b00e686b5823 Mon Sep 17 00:00:00 2001 From: Michel Date: Thu, 3 Nov 2022 17:48:46 +0100 Subject: [PATCH] build: asdf tool --- .envrc | 5 +++++ .ripgreprc | 28 ++++++++++++++++++++++++++++ .tool-versions | 3 +++ 3 files changed, 36 insertions(+) create mode 100644 .envrc create mode 100644 .ripgreprc create mode 100644 .tool-versions diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..cc44247 --- /dev/null +++ b/.envrc @@ -0,0 +1,5 @@ +# See `direnv stdlib` for special functions provided by _direnv_. +use asdf + +# RipGrep settings +export RIPGREP_CONFIG_PATH=$PWD/.ripgreprc diff --git a/.ripgreprc b/.ripgreprc new file mode 100644 index 0000000..f8ed369 --- /dev/null +++ b/.ripgreprc @@ -0,0 +1,28 @@ +## Colors +# +--colors=path:bg:23 +--colors=path:fg:253 + +## Smart-case Search +# +# - case-insensitive if the pattern is all lowercase; +# - case-sensitive otherwise. +# +# Overrides -s/--case-sensitive and -i/--ignore-case flags. +--smart-case + +## Files Types +# +# --type-list to show all supported file types and their corresponding globs. +# --type-not to exclude a type from search. +# +--type-not=bzip2 +--type-not=gzip +--type-not=xz + +## Sorting in ascending order +# - none (Default) Do not sort results. Fastest. Can be multi-threaded. +# - path Sort by file path. Always single-threaded. +# - modified Sort by the last modified time on a file. Always single-threaded. +# +--sort=path diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..030b83d --- /dev/null +++ b/.tool-versions @@ -0,0 +1,3 @@ +direnv 2.32.1 +ninja 1.11.1 +python system