mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 10:59:32 +08:00
Fix renamed method issue.
This commit is contained in:
parent
adafe271f0
commit
3d376bbd5b
|
@ -12,7 +12,7 @@ autoload -Uz add-zsh-hook || { print "can't add zsh hook!"; return }
|
||||||
|
|
||||||
## definitions ##
|
## definitions ##
|
||||||
|
|
||||||
if ! (type notify_formatted | grep -q 'function'); then
|
if ! (type bgnotify_formatted | grep -q 'function'); then
|
||||||
function bgnotify_formatted {
|
function bgnotify_formatted {
|
||||||
## exit_status, command, elapsed_time
|
## exit_status, command, elapsed_time
|
||||||
[ $1 -eq 0 ] && title="#win (took $3 s)" || title="#fail (took $3 s)"
|
[ $1 -eq 0 ] && title="#win (took $3 s)" || title="#fail (took $3 s)"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user