mirror of
https://github.com/notwa/rc
synced 2024-12-21 21:49:40 -08: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
|
||||
__notice_upload "${message#@}" || return
|
||||
lament "$normal"
|
||||
elif [ $# = 1 ] && [ "$title" = @ ]; then
|
||||
__notice_upload "$message" || return
|
||||
lament "$normal"
|
||||
fi
|
||||
|
||||
if [ -e "$conf" ]; then
|
||||
|
|
Loading…
Reference in a new issue