Comparing version 0.4.15 to 0.4.16
@@ -16,3 +16,3 @@ { | ||
"author": "Fatih Kadir Akın <fka@fatihak.in>", | ||
"version": "0.4.15", | ||
"version": "0.4.16", | ||
"licenses": [ | ||
@@ -19,0 +19,0 @@ { |
@@ -336,3 +336,3 @@ <img src="https://rawgit.com/f/omelette/master/resources/logo.svg?v1" height="80"> | ||
} | ||
} | ||
}, | ||
are: ['you'], | ||
@@ -398,6 +398,6 @@ many: ['cars', 'houses'], | ||
`--debug` option generates a function called `omlette-debug-<programname>`. | ||
(`omlette-debug-githubber` in this example). | ||
`--debug` option generates a function called `omelette-debug-<programname>`. | ||
(`omelette-debug-githubber` in this example). | ||
When you run `omlette-debug-<programname>`, it will create aliases for your | ||
When you run `omelette-debug-<programname>`, it will create aliases for your | ||
application. (`githubber` and `gh` in this example). | ||
@@ -404,0 +404,0 @@ |
@@ -141,3 +141,3 @@ // Generated by CoffeeScript 2.3.2 | ||
completion = `_${program}_completion`; | ||
return `### ${program} completion - begin. generated by omelette.js ###\nif type compdef &>/dev/null; then\n ${completion}() {\n compadd -- \`${this.program} --compzsh --compgen "\${CURRENT}" "\${words[CURRENT-1]}" "\${BUFFER}"\`\n }\n compdef ${completion} ${program}\nelif type complete &>/dev/null; then\n ${completion}() {\n local cur prev nb_colon\n _get_comp_words_by_ref -n : cur prev\n nb_colon=$(grep -o ":" <<< "$COMP_LINE" | wc -l)\n\n COMPREPLY=( $(compgen -W '$(${this.program} --compbash --compgen "$((COMP_CWORD - (nb_colon * 2)))" "$prev" "\${COMP_LINE}")' -- "$cur") )\n\n __ltrim_colon_completions "$cur"\n }\n complete -F ${completion} ${program}\nfi\n### ${program} completion - end ###`; | ||
return `### ${program} completion - begin. generated by omelette.js ###\nif type compdef &>/dev/null; then\n ${completion}() {\n compadd -- \`${this.program} --compzsh --compgen "\${CURRENT}" "\${words[CURRENT-1]}" "\${BUFFER}"\`\n }\n compdef ${completion} ${program}\nelif type complete &>/dev/null; then\n ${completion}() {\n local cur prev nb_colon\n _get_comp_words_by_ref -n : cur prev\n nb_colon=$(grep -o ":" <<< "$COMP_LINE" | wc -l)\n\n COMPREPLY=( $(compgen -W '$(${this.program} --compbash --compgen "$((COMP_CWORD - (nb_colon * 2)))" "$prev" "\${COMP_LINE}")' -- "$cur") )\n\n __ltrim_colon_completions "$cur"\n }\n complete -F ${completion} ${program}\nelif type compctl &>/dev/null; then\n ${completion} () {\n local cword line point si\n read -Ac words\n read -cn cword\n read -l line\n si="$IFS"\n if ! IFS=$'\n' reply=($(${program} --compzsh --compgen "\${cword}" "\${words[cword-1]}" "\${line}")); then\n local ret=$?\n IFS="$si"\n return $ret\n fi\n IFS="$si"\n }\n compctl -K ${completion} ${program}\nfi\n### ${program} completion - end ###`; | ||
}); | ||
@@ -144,0 +144,0 @@ if (this.isDebug) { |
26297
307