{"id":13495280,"url":"https://github.com/desyncr/auto-ls","last_synced_at":"2025-10-27T10:02:26.096Z","repository":{"id":48971679,"uuid":"90110814","full_name":"desyncr/auto-ls","owner":"desyncr","description":"zsh plugin for auto-ls","archived":false,"fork":false,"pushed_at":"2024-04-30T18:26:12.000Z","size":35,"stargazers_count":89,"open_issues_count":7,"forks_count":27,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T01:13:32.437Z","etag":null,"topics":["plugin","prompt","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desyncr.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}},"created_at":"2017-05-03T05:18:47.000Z","updated_at":"2025-02-19T15:36:31.000Z","dependencies_parsed_at":"2024-10-12T01:00:46.968Z","dependency_job_id":"83280f7c-ad92-4068-a9d8-47822c9f5259","html_url":"https://github.com/desyncr/auto-ls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desyncr%2Fauto-ls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desyncr%2Fauto-ls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desyncr%2Fauto-ls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desyncr%2Fauto-ls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desyncr","download_url":"https://codeload.github.com/desyncr/auto-ls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243730827,"owners_count":20338723,"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":["plugin","prompt","zsh"],"created_at":"2024-07-31T19:01:33.143Z","updated_at":"2025-10-27T10:02:26.006Z","avatar_url":"https://github.com/desyncr.png","language":"Shell","funding_links":[],"categories":["Shell","Plugins"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"# Auto-ls\n\nThere are many `auto-ls`s out there but this one is mine.\n\n# Features\n\n- Custom command on `cwd`/`enter-key`\n- Auto `ls` on `cwd`\n- Auto `ls` on `enter-key` (with empty buffer)\n- Git status on a git work tree\n\n# Install\n\n- Manual\n\n      curl -L https://git.io/auto-ls \u003e /path/to/auto-ls.zsh\n      source /path/to/auto-ls.zsh\n\n- [Antigen](https://github.com/zsh-users/antigen)\n\n      antigen bundle desyncr/auto-ls\n\n- [zplugin](https://github.com/zdharma/zplugin)\n\n      zplugin ice wait'0' lucid\n      zplugin load desyncr/auto-ls\n\n# Configuration\n\n- `AUTO_LS_COMMANDS`: Use this configuration option to define the functions to run on cwd/enter-key.\n\nExample: `AUTO_LS_COMMANDS=(ls git-status)`\n\n- `AUTO_LS_NEWLINE`: Configure `ls` to put a newline (Default: true).\n\nExample: `AUTO_LS_NEWLINE=false`\n\n- `AUTO_LS_PATH`: Detect command full path to execute (Default: true).\n\nExample: `AUTO_LS_PATH=false`\n\n-  `AUTO_LS_CHPWD`: Enable/disable auto-ls on directory change (Default: true)\n\nExample: `AUTO_LS_CHPWD=false`\n\n# Customization\n\nYou can configure commands in order to execute on `cwd`/`ls`, example:\n\n```\n\nAUTO_LS_COMMANDS=(ls git-status '/usr/bin/git log')\n# Or...\nAUTO_LS_COMMANDS=(ls git-status '[[ -d $PWD/.git ]] \u0026\u0026 /usr/bin/git log|head')\n\n```\n\nYou may redefine default functions or define custom functions to be run on cwd/enter-key:\n\n- Before loading auto-ls define a function to be executed:\n\n      auto-ls-custom_function () {\n        echo \"Current directory list:\"\n        ls -ltra\n      }\n\n\n    * Be sure to call it `auto-ls-`\\\u003cname of your function\\\u003e.\n\n- Configure auto-ls to load your function. Put the following line before sourcing auto-ls:\n\n      AUTO_LS_COMMANDS=(custom_function)\n\n   * Only use \\\u003cname of your function\\\u003e rather than `auto-ls-`\\\u003cname of your function\\\u003e.\n\nYou may as well load the default functions, `ls` and `git-status`:\n\n     AUTO_LS_COMMANDS=(ls git-status custom_function)\n\n# Future\n\n- `zstyle` options to customize ls options\n- `zstyle` options to customize git status\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesyncr%2Fauto-ls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesyncr%2Fauto-ls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesyncr%2Fauto-ls/lists"}