diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-08-01 23:10:57 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-08-01 23:10:57 +0200 |
commit | 81b6ccff547b93d3e4cd007e7715feb2185ab8f7 (patch) | |
tree | 81f4e7253557bef1fbaefec27a0db34627743241 /stow/vim/.vim/ftplugin/sh/snippets/template.txt | |
parent | f88b8b71ca42c113c0210c07a542ab9b1bfd6d5d (diff) | |
download | configs-81b6ccff547b93d3e4cd007e7715feb2185ab8f7.tar.gz configs-81b6ccff547b93d3e4cd007e7715feb2185ab8f7.zip |
Updated vim templates for sh.
Diffstat (limited to 'stow/vim/.vim/ftplugin/sh/snippets/template.txt')
-rw-r--r-- | stow/vim/.vim/ftplugin/sh/snippets/template.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/stow/vim/.vim/ftplugin/sh/snippets/template.txt b/stow/vim/.vim/ftplugin/sh/snippets/template.txt index 245ff49..64d3a2e 100644 --- a/stow/vim/.vim/ftplugin/sh/snippets/template.txt +++ b/stow/vim/.vim/ftplugin/sh/snippets/template.txt @@ -7,17 +7,20 @@ usageMessage="Usage: template.sh [-ac] [-b OPTARG] FILE..." # Process options -while getopts ":ab:c" opt; do +while getopts ':ab:c' opt; do case $opt in 'a' ) - echo a ;; + echo a + ;; 'b' ) - echo b $OPTARG ;; + echo b $OPTARG + ;; 'c' ) - echo c ;; + echo c + ;; '?' ) printf "${usageMessage}\n" |