diff --git a/stream-sprout b/stream-sprout index ae1ad03..69e2bd7 100755 --- a/stream-sprout +++ b/stream-sprout @@ -47,6 +47,7 @@ function parse_yaml() { fs=$'\034' sed -ne "s|^\(${s}\):|\1|" \ -e 's|`||g;s|\$||g;' \ + -e "s|~|${HOME}|g;" \ -e "s|^\(${s}\)\(${w}\)${s}:${s}[\"']\(.*\)[\"']$s\$|\1${fs}\2${fs}\3|p" \ -e "s|^\(${s}\)\(${w}\)${s}:${s}\(.*\)${s}\$|\1${fs}\2${fs}\3|p" "${1}" | awk -F"${fs}" '{ diff --git a/stream-sprout.yaml.example b/stream-sprout.yaml.example index 3bd0920..86d5d77 100644 --- a/stream-sprout.yaml.example +++ b/stream-sprout.yaml.example @@ -4,7 +4,7 @@ server: app: sprout key: "create your key with uuidgen here" archive_stream: false - archive_path: "${HOME}/Streams" + archive_path: ~/Streams services: trovo: