mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 17:56:31 +00:00
Add abbreviations for notify-to-slack
This commit is contained in:
parent
10badb018c
commit
58dfd9bbe1
@ -35,3 +35,11 @@ abbr --global --add pb-failure pb "Failure"
|
||||
function pb-notify
|
||||
[ $status = 0 ] ;and pb-success ;or pb-failure
|
||||
end
|
||||
|
||||
# notify-to-slack
|
||||
abbr --global --add ns-done notify-to-slack Done
|
||||
abbr --global --add ns-success notify-to-slack Success
|
||||
abbr --global --add ns-failure notify-to-slack Failure
|
||||
function ns-notify
|
||||
notify-to-slack --status $status "Done"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user