make defaults configurable
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
# Usage: dpkgs <string>
|
||||
pkgs()
|
||||
{
|
||||
local ignore_case=0
|
||||
local ignore_case=${PKGS_DEFAULT_IGNORE_CASE:-0}
|
||||
|
||||
local PARSED
|
||||
PARSED=$(getopt -o hi --long help,ignore-case -n 'pkgs' -- "$@")
|
||||
@@ -96,4 +96,6 @@ export -f pkgs
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
load_conf "packages"
|
||||
|
||||
# EOF
|
||||
|
||||
Reference in New Issue
Block a user