{"id":13649034,"url":"https://github.com/0rax/fish-bd","last_synced_at":"2025-08-09T21:10:10.667Z","repository":{"id":11124703,"uuid":"13485306","full_name":"0rax/fish-bd","owner":"0rax","description":"Quickly go back to a parent directory up in your current working directory tree. Don't write 'cd ../../..' redundantly, use bd instead.","archived":false,"fork":false,"pushed_at":"2022-03-04T02:26:03.000Z","size":32,"stargazers_count":141,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-02T00:08:25.264Z","etag":null,"topics":["fish","fish-packages","fish-shell","shell"],"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/0rax.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":"2013-10-10T23:22:50.000Z","updated_at":"2024-12-29T20:33:09.000Z","dependencies_parsed_at":"2022-08-02T15:45:24.971Z","dependency_job_id":null,"html_url":"https://github.com/0rax/fish-bd","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/0rax%2Ffish-bd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0rax%2Ffish-bd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0rax%2Ffish-bd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0rax%2Ffish-bd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0rax","download_url":"https://codeload.github.com/0rax/fish-bd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232266948,"owners_count":18497149,"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":["fish","fish-packages","fish-shell","shell"],"created_at":"2024-08-02T01:04:43.283Z","updated_at":"2025-01-02T23:18:03.487Z","avatar_url":"https://github.com/0rax.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# fish-bd\n\n**Quickly go back to a parent directory up in your current working directory tree.**\n**Don't write 'cd ../../..' redundantly, use bd instead.**\n\nThis is a fish implementation of [vigneshwaranr/bd](https://github.com/vigneshwaranr/bd) by Vigneshwaran Raveendran.\n\n## Usage\n\n```\n# fish-bd v1.3.3 (https://github.com/0rax/bd-fish)\n\nDescription:\n    Quickly go back to a parent directory up in your current working directory tree.\n    Don't write 'cd ../../..' redundantly, use bd instead.\n\nUsage:\n    bd [option] \u003cpattern\u003e\n\nExamples:\n    # You are in /home/user/my/path/is/very/long/\n    # And you want to go back to 'path', simple type\n    \u003e bd path\n    # or\n    \u003e bd -s pa\n    # or\n    \u003e bd -i Pat\n    # And you are now in /home/user/my/path/\n\nOptions:\n    -c \u003cpattern\u003e\n            Classic mode : goes back to the first directory matching the pattern (default)\n            Set if default using (set -gx BD_OPT 'classic')\n            Default mode when BD_OPT or CLI options are specified\n    -s \u003cpattern\u003e\n            Seems mode: goes back to the first directory starting with pattern\n            Set it as default using (set -gx BD_OPT 'sensitive')\n    -i \u003cpattern\u003e\n            Case insensitive mode: same as seems mode without case sensitity\n            Set it as default using (set -gx BD_OPT 'insensitive')\n    -h      Print this help and exit\n\nNote:\n    Fuzzy matching of a directory can be done with any mode using the built-in\n    fish-shell autocompletion. This allows you to enter any part of the path\n    and still match it\n```\n\n## Installation\n\n### Using [Fisher](https://github.com/jorgebucaran/fisher) (recommended method)\n\n```sh\n# This method allows you to update bd automatically via `fisher`\nfisher install 0rax/fish-bd\n```\n\n### Using Symlinks\n\n```sh\n# This method allows you to update narwhal by just doing a 'git pull'\ngit clone https://github.com/0rax/fish-bd ~/.config/fish/fish-bd\nmkdir -p ~/.config/fish/functions/ ~/.config/fish/completions/\nln -s ~/.config/fish/fish-bd/functions/bd.fish   ~/.config/fish/functions/\nln -s ~/.config/fish/fish-bd/completions/bd.fish ~/.config/fish/completions/\n```\n\n### Using Make\n\n```sh\nmake install # Assumes your fish config directory is '~/.config/fish'\n```\n\n### Manual Install\n\n```sh\nset -l FISH_CONFIG_FOLDER ~/.config/fish/\ncp functions/bd.fish   $FISH_CONFIG_FOLDER/functions/\ncp completions/bd.fish $FISH_CONFIG_FOLDER/completions/\n```\n\n## License\n\n`fish-bd` is MIT licensed. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0rax%2Ffish-bd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0rax%2Ffish-bd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0rax%2Ffish-bd/lists"}