diff --git a/README.md b/README.md index c634c7f..214b142 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,10 @@ _`man burrow` or `burrow -h` for more information._ The following locations are available for configuration: -1) `$HOME/.config/burrow/config` -2) `$HOME/.config/burrow` -3) `$HOME/.burrow` +1) `/etc/burrow/config` +2) `$HOME/.config/burrow/config` +3) `$HOME/.config/burrow` +4) `$HOME/.burrow` These files are processed in the order listed. Variables defined in multiple locations will use the last assigned value. diff --git a/burrow b/burrow index bef37b0..7595089 100755 --- a/burrow +++ b/burrow @@ -1,8 +1,8 @@ #!/bin/sh -version="v1.7.5" +version="v1.7.6" -configfiles="$HOME/.config/burrow/config $HOME/.config/burrow $HOME/.burrow /etc/burrow/config" +configfiles="/etc/burrow/config $HOME/.config/burrow/config $HOME/.config/burrow $HOME/.burrow" # vars from config config_dir_gopher="$HOME/gopher/" diff --git a/burrow.1 b/burrow.1 index 40a97b4..bf2ce9b 100644 --- a/burrow.1 +++ b/burrow.1 @@ -1,4 +1,4 @@ -.TH BURROW 1 "27 Jan 2019" "version 1.7.5" +.TH BURROW 1 "27 Jan 2019" "version 1.7.6" .SH NAME burrow \- a helper for building and managing a gopher hole .SH SYNOPSIS @@ -50,6 +50,8 @@ Show the help. .I ~/.config/burrow , .I ~/.burrow +, +.I /etc/burrow/config : configuration settings for burrow. If none of these are available, the default configuration is loaded. .SH BUGS