{"id":13537346,"url":"https://github.com/shyiko/commacd","last_synced_at":"2025-04-07T11:09:56.044Z","repository":{"id":21638453,"uuid":"24959087","full_name":"shyiko/commacd","owner":"shyiko","description":"A faster way to move around (Bash 3+/Zsh)","archived":false,"fork":false,"pushed_at":"2019-11-07T04:25:33.000Z","size":45,"stargazers_count":365,"open_issues_count":4,"forks_count":20,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-31T10:06:49.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://shyiko.com/2014/10/10/commacd/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shyiko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-08T20:20:55.000Z","updated_at":"2025-03-30T14:32:55.000Z","dependencies_parsed_at":"2022-08-07T10:01:00.011Z","dependency_job_id":null,"html_url":"https://github.com/shyiko/commacd","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyiko%2Fcommacd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyiko%2Fcommacd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyiko%2Fcommacd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shyiko%2Fcommacd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shyiko","download_url":"https://codeload.github.com/shyiko/commacd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640465,"owners_count":20971557,"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-08-01T09:00:57.886Z","updated_at":"2025-04-07T11:09:56.018Z","avatar_url":"https://github.com/shyiko.png","language":"Shell","funding_links":[],"categories":["Command-Line Productivity","Shell"],"sub_categories":["Directory Navigation","Reusable Things"],"readme":"# commacd [![Build Status](https://travis-ci.org/shyiko/commacd.svg)](https://travis-ci.org/shyiko/commacd)\n\nA faster way to move around (Bash 3+/Zsh).\n\n\u003e `commacd` is NOT an [autojump](https://github.com/joelthelion/autojump)/[z](https://github.com/rupa/z)/[fasd](https://github.com/clvv/fasd) alternative nor they are mutually exclusive. Think of it as an improved `cd`.\n\n## Installation\n\n#### Bash\n\n```sh\ncurl -sSL https://github.com/shyiko/commacd/raw/v1.0.0/commacd.sh -o ~/.commacd.sh \u0026\u0026 \\\n  echo \"source ~/.commacd.sh\" \u003e\u003e ~/.bashrc\n```\n\n\u003e macOS users: make sure [~/.bashrc is sourced from ~/.bash_profile](http://ss64.com/osx/syntax-bashrc.html).\n\n#### Zsh\n\n```sh\ncurl -sSL https://github.com/shyiko/commacd/raw/v1.0.0/commacd.sh -o ~/.commacd.sh \u0026\u0026 \\\n  echo \"source ~/.commacd.sh\" \u003e\u003e ~/.zshrc\n```\n\n## Upgrading to the latest version\n\n```sh\ncurl -sSL https://github.com/shyiko/commacd/raw/v1.0.0/commacd.sh -o ~/.commacd.sh\n```\n\n## Usage\n\n`commacd` exports three commands: `,` (for jumping forward), `,,` (backward) and `,,,` (backward+forward):\n\n```sh\n~$ , des\n  =\u003e cd Desktop\n\n# move through multiple directories\n~$ , /u/l/ce\n  =\u003e cd /usr/local/Cellar\n\n# allow me to choose directory in case of ambiguous pattern (= multiple choices)\n~$ , d\n  =\u003e 1 Desktop\n     2 Downloads\n     : \u003ctype index of the directory to cd into\u003e\n\n# given two directories jdk7 and jdk8 on the Desktop, cd into jdk8 without hitting\n# interactive mode (the one shown above)\n~/github$ , ~/d/j*8\n  =\u003e cd ~/Desktop/jdk8\n\n# cd into directory having 'esk' somewhere in its name\n~/github$ , ~/esk # in pre-0.2.0 that would be `, ~/*esk`\n  =\u003e cd ~/Desktop\n\n# go all the way up to the project root (in this case, the one that has .git in it)\n~/github/lorem/src/public$ ,,\n  =\u003e cd ~/github/lorem\n\n# cd into to the first (closest) parent directory named g*\n~/github/vimium/src/public$ ,, g\n  =\u003e cd ~/github\n\n# substitute jekyll with ghost\n~/github/jekyll/test$ ,, jekyll ghost\n  =\u003e cd ~/github/ghost/test\n\n# jump to some other project (in this case, located in ~/github)\n~/github/rook/src/public$ ,,, binlog # in pre-0.2.0 you would need to use `m*binlog`\n  =\u003e cd ~/github/mysql-binlog-connector-java\n```\n\nAs a bonus, all three aliases support `\u003cTab\u003e` expansion (try `, /u/lo\u003cTab\u003e`) and can be combined with other tools (e.g. ``ls `, /u/lo` ``).\n\nFor more information, please refer to http://shyiko.com/2014/10/10/commacd/.\n\n## Development\n\n```sh\nmake # lint \u0026 test\n```\n\n## License\n\n[MIT License](http://opensource.org/licenses/mit-license.php)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyiko%2Fcommacd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshyiko%2Fcommacd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyiko%2Fcommacd/lists"}