mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
6d4284cc7a
* Allow specifying mutual exlusive flags Warning about flags that seem mutual exclusive prevents using default flags in Shell aliases which later could be overriden. When parsing the command line options, the last given option for a setting (think "mode") or (light vs. dark) counts. Since colorls errors out when `--tree` is used together with `--all`, the `--all` option is relaxed to `--almost-all`. This is exactly how it works for `ls` and e.g. the famous curl tool. Related to #103, in order to make colorls more compatible to `ls`. * Fix rubocop error: sort dependencies ``` Offenses: colorls.gemspec:25:3: C: Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency filesize should appear before ruby-terminfo. spec.add_runtime_dependency 'filesize' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ colorls.gemspec:32:3: C: Gemspec/OrderedDependencies: Dependencies should be sorted in an alphabetical order within their section of the gemspec. Dependency diffy should appear before rubocop. spec.add_development_dependency 'diffy' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` |
||
---|---|---|
.. | ||
colorls | ||
yaml | ||
colorls.rb |