mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-22 04:45:11 +00:00
Combine Environment and Globals.
This commit is contained in:
parent
a09e7b2468
commit
68b421f95a
18
hosts
18
hosts
@ -25,7 +25,7 @@ set -o noglob
|
||||
IFS=$'\n\t'
|
||||
|
||||
###############################################################################
|
||||
# Globals
|
||||
# Environment & Globals
|
||||
###############################################################################
|
||||
|
||||
# $_VERSION
|
||||
@ -34,6 +34,11 @@ IFS=$'\n\t'
|
||||
# semantic versioning specification: http://semver.org
|
||||
_VERSION="3.5.1"
|
||||
|
||||
# $_ME
|
||||
#
|
||||
# Set to the program's basename.
|
||||
_ME="$(basename "${0}")"
|
||||
|
||||
# $HOSTS_DEFAULT_COMMAND
|
||||
#
|
||||
# The command to be run by default, when no command name is specified. If the
|
||||
@ -137,17 +142,6 @@ _return_1() {
|
||||
return 1
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# Environment
|
||||
###############################################################################
|
||||
|
||||
# $_ME
|
||||
#
|
||||
# Set to the program's basename.
|
||||
_ME=$(basename "${0}")
|
||||
|
||||
_debug printf "\${_ME}: %s\\n" "${_ME}"
|
||||
|
||||
###############################################################################
|
||||
# Load Commands
|
||||
###############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user