mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 04:46:28 +00:00
Better notify
This commit is contained in:
parent
2ee482f9ca
commit
63162d05b3
@ -24,23 +24,14 @@ alias notify-done='terminal-notifier -message "Done"'
|
|||||||
alias notify-success='terminal-notifier -message "Success"'
|
alias notify-success='terminal-notifier -message "Success"'
|
||||||
alias notify-fail='terminal-notifier -message "Failure"'
|
alias notify-fail='terminal-notifier -message "Failure"'
|
||||||
|
|
||||||
# function sh-notify
|
function sh-notify
|
||||||
# ($argv) ;and notify-success ;or notify-fail
|
[ $status = 0 ] ;and notify-success ;or notify-fail
|
||||||
# end
|
end
|
||||||
|
|
||||||
# gl-notifire
|
|
||||||
alias gl-notify-done='gl-notifier "Done"'
|
|
||||||
alias gl-notify-success='gl-notifier "Success"'
|
|
||||||
alias gl-notify-fail='gl-notifier "Failure"'
|
|
||||||
|
|
||||||
# function gl-notify
|
|
||||||
# ($argv) ;and gl-notify-success ;or gl-notify-fail
|
|
||||||
# end
|
|
||||||
|
|
||||||
# gopush
|
# gopush
|
||||||
alias pb-done='pb "Done"'
|
alias pb-done='pb "Done"'
|
||||||
alias pb-success='pb "Success"'
|
alias pb-success='pb "Success"'
|
||||||
alias pb-failure='pb "Failure"'
|
alias pb-failure='pb "Failure"'
|
||||||
# function pb-notify
|
function pb-notify
|
||||||
# ($argv) ;and pb-success ;or pb-failure
|
[ $status = 0 ] ;and pb-success ;or pb-failure
|
||||||
# end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user