Add line return to `_config_get` if terminal

This commit is contained in:
rwxrob 2021-08-26 09:48:11 -04:00
parent 39d17d9234
commit d4cd7301f8
No known key found for this signature in database
GPG Key ID: 1CCACEDD2F65578E
1 changed files with 4 additions and 1 deletions

5
cmd
View File

@ -305,7 +305,10 @@ _config_set() {
_config_write _config_write
} }
_config_get() { printf "${CONFIG[$1]}"; } _config_get() {
printf "${CONFIG[$1]}"
[[ -t 1 ]] && echo
}
_config_read() { _config_read() {
local values="$(_config_path)" local values="$(_config_path)"