colorls 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b6af9b605062f673ca69ad3c881b74cd355946d
4
- data.tar.gz: 5f11e62d8a132187fb781b251c1ad808ad256ca8
3
+ metadata.gz: 6111898dcc815561d1f642bdfbf229da293e1d1a
4
+ data.tar.gz: 46467d6a033487130582a72b21a08ab4b440bbdb
5
5
  SHA512:
6
- metadata.gz: a957c3826a7fe8bfd8888c1bdf41a20452fd320c00d12c5e09aba839ae66e5543eba9f4929270a077762e769db750e1d9da7a2aeccb15d7eb7fe9a62a1e03a58
7
- data.tar.gz: c105f060d66a64ce565e3c3b4a1b674f22e27c9d297f10e147b767a85726c32858578f49ffddf4d98bc3cc9e19d68ef535556144b4c0943d01c0737e81810b80
6
+ metadata.gz: efbe661feeced06b0587f696840a2b6e7ce42548c705506fb10dd4259c3b2a42d9b4465dbcc33f46b3345efda026380abd1216d53424cbfdb975a4ce2dc13101
7
+ data.tar.gz: bfc8ec9ff29fd9776495e75317d643440d0342e716eeb346900b81f46b039981bb3d1c42b9b8998e3e20750a9d6d182514dad0c3c3f7cd1d0e95cfaa6e9c05e7
data/CONTRIBUTING.md CHANGED
@@ -25,7 +25,7 @@ Please proceed with a Pull Request only after you're assigned. It'd be sad if yo
25
25
  - adding better icons to [YAML files](lib/yaml/)
26
26
  - adding more flag options to the ruby gem.
27
27
 
28
- 3. (Optional) To test whether `colorls` executable is working properly, do
28
+ 3. (Optional) To test whether `colorls` executable is working properly, do
29
29
  ```sh
30
30
  rake install
31
31
  ```
@@ -47,3 +47,5 @@ Please proceed with a Pull Request only after you're assigned. It'd be sad if yo
47
47
  ```
48
48
 
49
49
  6. (Required for new flags) Add command to `.travis.yml` file.
50
+
51
+ 7. (Required for new flags) Add flags to `tab_complete.sh` file.
data/README.md CHANGED
@@ -75,9 +75,14 @@ A Ruby script that colorizes the `ls` output with color and icons. Here are the
75
75
  rehash
76
76
  ```
77
77
 
78
- 4. Start using `colorls` :tada:
78
+ 4. Enable tab completion for flags by entering following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`) :
79
+ ```bash
80
+ source $(dirname $(gem which colorls))/tab_complete.sh
81
+ ```
82
+
83
+ 5. Start using `colorls` :tada:
79
84
 
80
- 5. Have a look at [Recommended configurations](#recommended-configurations).
85
+ 6. Have a look at [Recommended configurations](#recommended-configurations).
81
86
 
82
87
  # Recommended configurations
83
88
 
@@ -1,3 +1,3 @@
1
1
  module ColorLS
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
data/tab_complete.sh ADDED
@@ -0,0 +1,4 @@
1
+ _colorls_options='-1 -a -A -d -f -l -r -t -h
2
+ --all --almost-all --dirs --files --long --report --sort-dirs --group-directories-first
3
+ --sort-files --git-status --tree --help --sd --sf --gs'
4
+ complete -W "${_colorls_options}" 'colorls'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Athitya Kumar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-20 00:00:00.000000000 Z
11
+ date: 2017-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -208,6 +208,7 @@ files:
208
208
  - readme/usage7.png
209
209
  - readme/usage8.png
210
210
  - readme/usage9.png
211
+ - tab_complete.sh
211
212
  homepage: https://github.com/athityakumar/colorls
212
213
  licenses:
213
214
  - MIT