diff options
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/snippets/sh-mode')
-rw-r--r-- | users/wpcarro/emacs/.emacs.d/snippets/sh-mode/.yas-parents | 1 | ||||
-rw-r--r-- | users/wpcarro/emacs/.emacs.d/snippets/sh-mode/function | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/snippets/sh-mode/.yas-parents b/users/wpcarro/emacs/.emacs.d/snippets/sh-mode/.yas-parents new file mode 100644 index 000000000000..d58dacb7a0b1 --- /dev/null +++ b/users/wpcarro/emacs/.emacs.d/snippets/sh-mode/.yas-parents @@ -0,0 +1 @@ +text-mode \ No newline at end of file diff --git a/users/wpcarro/emacs/.emacs.d/snippets/sh-mode/function b/users/wpcarro/emacs/.emacs.d/snippets/sh-mode/function new file mode 100644 index 000000000000..efa946bb272f --- /dev/null +++ b/users/wpcarro/emacs/.emacs.d/snippets/sh-mode/function @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: Create function +# key: fn +# -- +$1() { + $2 +} \ No newline at end of file |