{"id":16935872,"url":"https://github.com/knu/zsh-manydots-magic","last_synced_at":"2025-03-22T12:31:50.996Z","repository":{"id":1239271,"uuid":"1939895","full_name":"knu/zsh-manydots-magic","owner":"knu","description":"manydots-magic - zle tweak for emulating `...'==`../..' etc.","archived":false,"fork":false,"pushed_at":"2024-09-11T09:24:05.000Z","size":6,"stargazers_count":44,"open_issues_count":5,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-14T20:55:35.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.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}},"created_at":"2011-06-23T06:10:16.000Z","updated_at":"2024-10-09T17:21:32.000Z","dependencies_parsed_at":"2022-07-21T12:03:49.981Z","dependency_job_id":null,"html_url":"https://github.com/knu/zsh-manydots-magic","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/knu%2Fzsh-manydots-magic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fzsh-manydots-magic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fzsh-manydots-magic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fzsh-manydots-magic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/zsh-manydots-magic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221829073,"owners_count":16887517,"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":[],"created_at":"2024-10-13T20:55:32.915Z","updated_at":"2024-10-28T12:49:15.315Z","avatar_url":"https://github.com/knu.png","language":"Shell","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"manydots-magic for zsh\n======================\n\nSynopsis\n--------\n\n* manydots-magic - zle tweak for emulating `...`==`../..` etc.\n\nDescription\n-----------\n\nThis tweek helps input ancestor directories beyond the parent (`..`)\nin a handy way.\t You can just type triple dots to input `../..`,\nquadruple dots to `../../..`, etc..\n\n\t% .. [Hit \u003c.\u003e]\n\t% ../.. [Hit \u003c.\u003e]\n\t% ../../.. [Hit \u003c^H\u003e]\n\t% ../.. [Hit \u003c^H\u003e]\n\t% ..\n\nAs you see above, each of the `/..` parts complemented by this tweak\ncan be deleted by a single invocation of the `backward-delete-char`\ncommand, only if invoked right after the magic happens.\n\n\t% .. [Hit \u003c/\u003e\u003c.\u003e\u003c.\u003e]\n\t% ../.. [Hit \u003c^H\u003e]\n\t% ../.\n\nTriple-dot is not a rarely used character sequence, and this tweak\nkind of \"knows\" when it should be expanded.\n\n\t% ruby -e '(1.. [Hit \u003c.\u003e]\n\t% ruby -e '(1...\n\n\t% git log branch.. [Hit \u003c.\u003e]\n\t% git log branch...\n\n\t% git diff .. [Hit \u003c.\u003e]\n\t% git diff ../.. [Hit \u003cb\u003e]      \u003c- This may be a path...\n\t% git diff ...b [Hit \u003cranch\u003e]   \u003c- Or not.\n\t% git diff ...branch\n\nHow to set up\n-------------\n\nPut the file `manydots-magic` somewhere in your `$fpath` (typically in\n`$ZDOTDIR` which is set to something like `~/.zsh` or `~/.zsh.d`) and\nadd these lines to your `.zshrc`:\n\n\tautoload -Uz manydots-magic\n\tmanydots-magic\n\nIf you are enabling `url-quote-magic`, make sure to load\n`url-quote-magic` first and then load `manydots-magic`.\n\nLicense\n-------\n\nCopyright (c) 2011, 2012 Akinori MUSHA\n\nLicensed under the 2-clause BSD license.\nSee `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fzsh-manydots-magic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fzsh-manydots-magic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fzsh-manydots-magic/lists"}