From 0b4ff3c6f45ece4bfe8b1d0b337c5d9a651d3124 Mon Sep 17 00:00:00 2001 From: "@slovacus" Date: Mon, 6 Jan 2020 01:29:46 -0500 Subject: [PATCH] chore: implement > /dev/null 2>&1 (#7) --- zsh-notify.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-notify.zsh b/zsh-notify.zsh index 63afaa32..65d18bd4 100644 --- a/zsh-notify.zsh +++ b/zsh-notify.zsh @@ -63,12 +63,12 @@ _zsh_notify_popup() { _zsh_notify_success() { _zsh_notify_popup "${1}" "The command succeded after ${2} seconds" success.jpg - notify::play "${_ZSH_NOTIFY_ASSETS_DIR}"/success.mp3 + notify::play "${_ZSH_NOTIFY_ASSETS_DIR}"/success.mp3 > /dev/null 2>&1 } _zsh_notify_error() { _zsh_notify_popup "${1}" "The command failed after ${2} seconds with code: ${3}" error.png - notify::play "${_ZSH_NOTIFY_ASSETS_DIR}"/error.mp3 + notify::play "${_ZSH_NOTIFY_ASSETS_DIR}"/error.mp3 > /dev/null 2>&1 } _zsh_notify_command_complete() {