diff options
author | Rory Bradford <roryrjb@gmail.com> | 2020-08-13 09:07:05 +0100 |
---|---|---|
committer | Rory Bradford <roryrjb@gmail.com> | 2020-08-13 09:07:05 +0100 |
commit | 4d872677b173d5380e5ab63b17e45d876cc3e864 (patch) | |
tree | e4c1dd9a40350e7a4f566539c5036ec15e865153 /config.default | |
parent | 71abce4e0725251ee9484e85fa58e325d1cd6407 (diff) | |
download | rf-4d872677b173d5380e5ab63b17e45d876cc3e864.tar.gz |
Add config parser
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to 'config.default')
-rw-r--r-- | config.default | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/config.default b/config.default new file mode 100644 index 0000000..b1f5a8e --- /dev/null +++ b/config.default @@ -0,0 +1,29 @@ +# vim: ft=config +# this is a default config file for rf +# the options as presented here should match the default behaviour +# of rf and should give you an overview of what is configurable + +# read symlinks (true or false) +symlinks = false + +# match whole path by default (true or false) +wholename = false + +# limit number of results (a positive integer) +limit = 0 + +# optionally specify an alternative wildcard character +# (a single ascii character) +# allows you to do something like: +# rf %.jpg +# with a wildcard set to '%' so you don't have to worry about +# shell expansion with the normal '*' character in certain situations +# +# wildcard = + +# by default if there are no matches just exit with 0 exit code +# uncomment 'unmatched error' below to exit with a non-zero exit code +# allowing you to do something like this: +# rf {pattern} || fallback +# +# unmatched error |