Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
53259f62
Unverified
Commit
53259f62
authored
Sep 28, 2020
by
Marc Cornellà
Committed by
GitHub
Sep 28, 2020
Browse files
bgnotify: use $2 in preexec hook if $1 is empty
Fixes #5803
parent
76596660
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/bgnotify/bgnotify.plugin.zsh
View file @
53259f62
...
...
@@ -53,7 +53,7 @@ bgnotify () { ## args: (title, subtitle)
bgnotify_begin
()
{
bgnotify_timestamp
=
$EPOCHSECONDS
bgnotify_lastcmd
=
"
$
1
"
bgnotify_lastcmd
=
"
$
{
1
:-
$2
}
"
bgnotify_windowid
=
$(
currentWindowId
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment