Unverified Commit 53259f62 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

bgnotify: use $2 in preexec hook if $1 is empty

Fixes #5803
parent 76596660
......@@ -53,7 +53,7 @@ bgnotify () { ## args: (title, subtitle)
bgnotify_begin() {
bgnotify_timestamp=$EPOCHSECONDS
bgnotify_lastcmd="$1"
bgnotify_lastcmd="${1:-$2}"
bgnotify_windowid=$(currentWindowId)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment