File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,20 @@ require 'bashly'
33summary 'Generate bash completions for bashly itself'
44
55action do
6- completely_yaml_oath = 'lib/bashly/completions/completely.yaml'
6+ completely_yaml_path = 'lib/bashly/completions/completely.yaml'
77 completions_script_path = 'lib/bashly/completions/bashly-completions.bash'
8- gtx_path = "#{completely_yaml_oath }.gtx"
8+ gtx_path = "#{completely_yaml_path }.gtx"
99 template = File.read gtx_path
1010
1111 say "Reading GTX template from m`#{gtx_path}`"
1212 gtx = GTX.new template, filename: gtx_path
1313 completely_yaml = gtx.parse binding
1414
15- say "Writing completely configuration to m`#{completely_yaml_oath }`"
16- File.write completely_yaml_oath , completely_yaml
15+ say "Writing completely configuration to m`#{completely_yaml_path }`"
16+ File.write completely_yaml_path , completely_yaml
1717
1818 say "Saving completions script to m`#{completions_script_path}`"
19- completions = Completely::Completions.load completely_yaml_oath
19+ completions = Completely::Completions.load completely_yaml_path
2020 File.write completions_script_path, completions.script
2121
2222 if compdir
You can’t perform that action at this time.
0 commit comments