completely 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/completely/templates/template.erb +1 -1
- data/lib/completely/templates/tester-template.erb +4 -1
- data/lib/completely/tester.rb +1 -1
- data/lib/completely/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 207f7cf5e1b259c6cb7e9006f59cbf22b2096456707ef8d42edddbc6b0dc4e4e
|
4
|
+
data.tar.gz: 51e59317f307d3da3e09f7a30092970607000be5c7a11e4276e378dd0a41bb78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eaaacc3785c367510802ad2945057d1ecc50fbfd8ddbcba08234a80b73c12adbe6157c0fd9726e9eb2a9f043470bccac9fdd45bea767edce94b4b47e0dc6912
|
7
|
+
data.tar.gz: fc79892cbbe2647aa5647ea68d6fe29ef3b91b0686565e16ce9e6c784157539ab728dce24c4991234c1a1756facca1b0aa019c9654a1fa90b91a7d8476ea3de8
|
data/README.md
CHANGED
@@ -250,6 +250,17 @@ puts completions.wrapper_function "custom_function_name"
|
|
250
250
|
p completions.tester.test "mygit status "
|
251
251
|
```
|
252
252
|
|
253
|
+
## Completions in ZSH
|
254
|
+
|
255
|
+
If you are using Oh-My-Zsh, bash completions should already be enabled,
|
256
|
+
otherwise, you should enable completion by adding this to your `~/.zshrc`
|
257
|
+
(if is it not already there):
|
258
|
+
|
259
|
+
```bash
|
260
|
+
# Load completion functions
|
261
|
+
autoload -Uz +X compinit && compinit
|
262
|
+
autoload -Uz +X bashcompinit && bashcompinit
|
263
|
+
```
|
253
264
|
|
254
265
|
## Contributing / Support
|
255
266
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
% patterns.each do |pattern|
|
20
20
|
% next if pattern.empty?
|
21
21
|
<%= pattern.case_string %>)
|
22
|
-
COMPREPLY
|
22
|
+
while read; do COMPREPLY+=( "$REPLY" ); done < <( compgen <%= pattern.compgen %> -- "$cur" )
|
23
23
|
;;
|
24
24
|
|
25
25
|
% end
|
data/lib/completely/tester.rb
CHANGED
data/lib/completely/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: completely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
rubygems_version: 3.3.
|
83
|
+
rubygems_version: 3.3.14
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Bash Completions Generator
|