{"id":13550381,"url":"https://github.com/shannonmoeller/up","last_synced_at":"2025-06-12T21:40:45.834Z","repository":{"id":1729985,"uuid":"2475222","full_name":"shannonmoeller/up","owner":"shannonmoeller","description":"Quickly navigate to a parent directory via tab-completion.","archived":false,"fork":false,"pushed_at":"2020-07-26T12:54:45.000Z","size":13,"stargazers_count":174,"open_issues_count":1,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-10T12:37:44.018Z","etag":null,"topics":["alias","bash","fish","navigation","shell","tab-completion","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"maidsafe-archive/MaidSafe-CRUX","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shannonmoeller.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-09-28T13:53:20.000Z","updated_at":"2024-11-01T19:18:35.000Z","dependencies_parsed_at":"2022-08-20T03:50:47.557Z","dependency_job_id":null,"html_url":"https://github.com/shannonmoeller/up","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/shannonmoeller%2Fup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shannonmoeller%2Fup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shannonmoeller%2Fup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shannonmoeller%2Fup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shannonmoeller","download_url":"https://codeload.github.com/shannonmoeller/up/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230547678,"owners_count":18243227,"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":["alias","bash","fish","navigation","shell","tab-completion","zsh"],"created_at":"2024-08-01T12:01:32.396Z","updated_at":"2024-12-20T07:07:13.401Z","avatar_url":"https://github.com/shannonmoeller.png","language":"Shell","funding_links":[],"categories":["Shell","Command-Line Productivity"],"sub_categories":["Directory Navigation"],"readme":"# `up`\n\nStop typing `../../..` endlessly. Use tab completion instead! Using `up` allows you to change your current directory to a parent of the current directory where the parent is specified by name or index.\n\n## Install\n\nWritten in 100% shell script, `up.sh` registers the `up` function and some completion functions via your `.bashrc` or `.zshrc` file.\n\n### bash\n\n```\ncurl --create-dirs -o ~/.config/up/up.sh https://raw.githubusercontent.com/shannonmoeller/up/master/up.sh\necho 'source ~/.config/up/up.sh' \u003e\u003e ~/.bashrc\n```\n\n### zsh\n\n```\ncurl --create-dirs -o ~/.config/up/up.sh https://raw.githubusercontent.com/shannonmoeller/up/master/up.sh\necho 'source ~/.config/up/up.sh' \u003e\u003e ~/.zshrc\n```\n\n### fish\n\nWritten in 100% fish script, `up.fish` registers the `up` function and some completion functions via `funcsave`.\n\n```\ncurl --create-dirs -o ~/.config/up/up.fish https://raw.githubusercontent.com/shannonmoeller/up/master/up.fish\nsource ~/.config/up/up.fish\n```\n\n## Usage\n\n```\n$ up [dir|num|-]\n\n    dir   full or partial name of any parent directory\n    num   number of times you'd have to type `../`\n    -     previous working directory\n```\n\n## Examples\n\nUp one level:\n\n```\n/home/chuck/foo/bar/baz/head/foot $ up\n/home/chuck/foo/bar/baz/head $\n```\n\nUp multiple levels:\n\n```\n/home/chuck/foo/bar/baz/head/foot $ up 4\n/home/chuck/foo $\n```\n\nUp by full name:\n\n```\n/home/chuck/foo/bar/baz/head/foot $ up bar\n/home/chuck/foo/bar $\n```\n\nUp by partial name:\n\n```\n/home/chuck/foo/bar/baz/head/foot $ up ba\n/home/chuck/foo/bar/baz $\n```\n\nTab completion:\n\n```\n/home/chuck/foo/bar/baz/head/foot $ up \u003cTAB\u003e\nbar/    baz/    chuck/  foo/    head/   home/\n\n/home/chuck/foo/bar/baz/head/foot $ up h\u003cTAB\u003e\nhead/   home/\n\n/home/chuck/foo/bar/baz/head/foot $ up ho\u003cTAB\u003e\n/home/chuck/foo/bar/baz/head/foot $ up home/\n/home $\n```\n\n----\n\nMIT © [Shannon Moeller](http://shannonmoeller.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshannonmoeller%2Fup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshannonmoeller%2Fup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshannonmoeller%2Fup/lists"}