From: Samir Benmendil Date: Sun, 24 May 2015 16:33:55 +0000 (+0100) Subject: vim: quote opt in sh snippet X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/e2afd206f61411950faf72637a76777f85dee3e3?ds=sidebyside vim: quote opt in sh snippet --- diff --git a/vim/ultisnips/sh.snippets b/vim/ultisnips/sh.snippets index 8393d02..1ea5c21 100644 --- a/vim/ultisnips/sh.snippets +++ b/vim/ultisnips/sh.snippets @@ -36,7 +36,7 @@ while [[ $# -gt 0 ]]; do echo -e "\n Option does not exist : $opt\n" usage; exit 1 ;; - *) args+=($opt); shift ;; + *) args+=("$opt"); shift ;; esac done endsnippet