mirror of
https://github.com/notwa/rc
synced 2024-11-13 20:29:02 -08:00
fix dumb issue with zsh parsing or whatever in notice
This commit is contained in:
parent
bd7f91c7a3
commit
f85dade403
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ __notice_upload() {
|
||||||
__notice_read_conf() {
|
__notice_read_conf() {
|
||||||
# TODO: ensure conf file is unreadable by others?
|
# TODO: ensure conf file is unreadable by others?
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
line="${line%%#*}" # strip comments
|
line="${line%%"#"*}" # strip comments
|
||||||
line="${line#"${line%%[! ]*}"}" # strip left
|
line="${line#"${line%%[! ]*}"}" # strip left
|
||||||
line="${line%"${line##*[! ]}"}" # strip right
|
line="${line%"${line##*[! ]}"}" # strip right
|
||||||
if [ "${line#gotify=}" != "$line" ]; then
|
if [ "${line#gotify=}" != "$line" ]; then
|
||||||
|
|
Loading…
Reference in a new issue