{"id":14069392,"url":"https://github.com/zimfw/utility","last_synced_at":"2025-07-11T03:03:27.202Z","repository":{"id":49332415,"uuid":"113081329","full_name":"zimfw/utility","owner":"zimfw","description":"Utility aliases and functions. Adds colour to ls, grep and less.","archived":false,"fork":false,"pushed_at":"2024-10-01T14:42:31.000Z","size":45,"stargazers_count":16,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T12:13:14.430Z","etag":null,"topics":["utility","zim","zimfw","zsh","zsh-plugin","zsh-plugins"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zimfw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-12-04T18:48:27.000Z","updated_at":"2025-04-09T10:12:24.000Z","dependencies_parsed_at":"2024-05-30T16:08:13.922Z","dependency_job_id":"78faa429-8fcc-4e65-be6f-e3735ce845f3","html_url":"https://github.com/zimfw/utility","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zimfw/utility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Futility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Futility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Futility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Futility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimfw","download_url":"https://codeload.github.com/zimfw/utility/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimfw%2Futility/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264719232,"owners_count":23653540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["utility","zim","zimfw","zsh","zsh-plugin","zsh-plugins"],"created_at":"2024-08-13T07:06:55.353Z","updated_at":"2025-07-11T03:03:27.171Z","avatar_url":"https://github.com/zimfw.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"utility\n=======\n\nUtility aliases and functions.\n\nAdds colour to `ls`, `grep` and `less`. To disable colours, add the following to\nyour `~/.zshrc` before initialing this module:\n\n    export NO_COLOR=1\n\nIf file `${HOME}/.dir_colors` exists, then its configuration will be set using\n`dircolors` (GNU only).\n\nIf [`lsd`] (LSDeluxe) is available, it will be aliased to `ls`.\n\nAliases\n-------\n\n### ls\n\n  * `ls` lists directories first (GNU only) and with colour (applies to all aliases below).\n  * `ll` lists with long format and human-readable sizes (applies to all aliases below).\n  * `l`  lists all files.\n  * `lm` lists all files using pager.\n  * `lr` lists recursively (as a tree with `lsd`).\n  * `lx` lists sorted by extension (GNU or `lsd` only).\n  * `lk` lists sorted by largest file size last.\n  * `lt` lists sorted by newest modification time last.\n  * `lc` lists sorted by newest status change (ctime) last (not with `lsd`).\n\n### File downloads\n\n  * `get` downloads from the given URL using `aria2c`, `axel`, `wget` or `curl`.\n\n### Resource usage\n\n  * `df` reports file system disk usage with human-readable sizes.\n  * `du` reports file disk usage with human-readable sizes.\n\n### Condoms\n\n  * `chmod` changes file mode verbosely, not operating from `/` (GNU only).\n  * `chown` changes file owner verbosely, not operating from `/` (GNU only).\n  * `rm` uses `safe-rm` if available.\n\nFunctions\n---------\n\n  * `mkcd` creates and changes to the given directory.\n  * `mkpw` generates a random password with the given length and set of characters.\n    The default parameters are equivalent to `mkpw 32 0-9A-Za-z`.\n\n[`lsd`]: https://github.com/lsd-rs/lsd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimfw%2Futility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimfw%2Futility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimfw%2Futility/lists"}