Initial commit.
This commit is contained in:
6
vim/snippets/sh/yesno/simple.snippet
Executable file
6
vim/snippets/sh/yesno/simple.snippet
Executable file
@@ -0,0 +1,6 @@
|
||||
read ${1:yn}
|
||||
if [[ $$1 =~ [Yy] ]]; then
|
||||
echo "${2:#statement}"
|
||||
else
|
||||
echo "${3:#statement}"
|
||||
fi
|
||||
Reference in New Issue
Block a user