mirror of
https://github.com/notwa/rc
synced 2024-09-19 15:14:06 -07:00
accept @
as a title to trigger file uploading in notice
This commit is contained in:
parent
28d87b4616
commit
7d8d529e80
1 changed files with 3 additions and 0 deletions
|
@ -370,6 +370,9 @@ __notice() {
|
||||||
if [ $# = 1 ] && [ "${message#@}" != "$message" ]; then
|
if [ $# = 1 ] && [ "${message#@}" != "$message" ]; then
|
||||||
__notice_upload "${message#@}" || return
|
__notice_upload "${message#@}" || return
|
||||||
lament "$normal"
|
lament "$normal"
|
||||||
|
elif [ $# = 1 ] && [ "$title" = @ ]; then
|
||||||
|
__notice_upload "$message" || return
|
||||||
|
lament "$normal"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e "$conf" ]; then
|
if [ -e "$conf" ]; then
|
||||||
|
|
Loading…
Reference in a new issue