Quote arguments in `tmux display-message`

This commit is contained in:
Bruno Sutic 2014-09-24 14:30:05 +02:00
parent 94594efdb0
commit ec9f68cad5
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ MESSAGE="$1"
END_MESSAGE="$2"
SPIN='-\|/'
trap "tmux display-message $END_MESSAGE; exit" SIGINT SIGTERM
trap "tmux display-message '$END_MESSAGE'; exit" SIGINT SIGTERM
main() {
local i=0