mirror of https://git.envs.net/envs/burrow.git
burrow checks for a /etc/burrow/config fallback file
This commit is contained in:
parent
7782fd066d
commit
045e7b8f72
|
@ -49,9 +49,10 @@ _`man burrow` or `burrow -h` for more information._
|
||||||
|
|
||||||
The following locations are available for configuration:
|
The following locations are available for configuration:
|
||||||
|
|
||||||
1) `$HOME/.config/burrow/config`
|
1) `/etc/burrow/config`
|
||||||
2) `$HOME/.config/burrow`
|
2) `$HOME/.config/burrow/config`
|
||||||
3) `$HOME/.burrow`
|
3) `$HOME/.config/burrow`
|
||||||
|
4) `$HOME/.burrow`
|
||||||
|
|
||||||
These files are processed in the order listed. Variables defined in multiple
|
These files are processed in the order listed. Variables defined in multiple
|
||||||
locations will use the last assigned value.
|
locations will use the last assigned value.
|
||||||
|
|
4
burrow
4
burrow
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/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
|
# vars from config
|
||||||
config_dir_gopher="$HOME/gopher/"
|
config_dir_gopher="$HOME/gopher/"
|
||||||
|
|
4
burrow.1
4
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
|
.SH NAME
|
||||||
burrow \- a helper for building and managing a gopher hole
|
burrow \- a helper for building and managing a gopher hole
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -50,6 +50,8 @@ Show the help.
|
||||||
.I ~/.config/burrow
|
.I ~/.config/burrow
|
||||||
,
|
,
|
||||||
.I ~/.burrow
|
.I ~/.burrow
|
||||||
|
,
|
||||||
|
.I /etc/burrow/config
|
||||||
: configuration settings for burrow. If none of these are available, the default
|
: configuration settings for burrow. If none of these are available, the default
|
||||||
configuration is loaded.
|
configuration is loaded.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
|
|
Loading…
Reference in New Issue