{"id":16984152,"url":"https://github.com/samtebbs33/dirtag","last_synced_at":"2026-05-17T15:41:01.618Z","repository":{"id":30615771,"uuid":"34171137","full_name":"SamTebbs33/DirTag","owner":"SamTebbs33","description":"A java app that creates quick \"cd\" shortcuts for you","archived":false,"fork":false,"pushed_at":"2015-10-27T22:10:04.000Z","size":272,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T20:47:40.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/SamTebbs33.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-04-18T15:31:36.000Z","updated_at":"2015-05-24T14:15:46.000Z","dependencies_parsed_at":"2022-08-03T15:14:43.268Z","dependency_job_id":null,"html_url":"https://github.com/SamTebbs33/DirTag","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FDirTag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FDirTag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FDirTag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamTebbs33%2FDirTag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamTebbs33","download_url":"https://codeload.github.com/SamTebbs33/DirTag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244890089,"owners_count":20527031,"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-14T02:30:15.281Z","updated_at":"2025-10-04T08:49:42.946Z","avatar_url":"https://github.com/SamTebbs33.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DirTag\nA java app that creates quick \"cd\" shortcuts for you\n\nIn the below example, I use a custom command **rl** to reload my **.bash_profile** file, which loads the new dirtag. It is just an alias for \". ~/.bash_profile\"\n\n![alt tag](https://github.com/SamTebbs33/DirTag/blob/master/example.gif)\n\nPlease note that it will only work on UNIX based systems, or perhaps programs that emulate one (not tested).\n\n# Contents\n* \u003ca href=\"#Features\"\u003eFeatures\u003c/a\u003e\n* \u003ca href=\"#Installation\"\u003eInstallation\u003c/a\u003e\n* \u003ca href=\"#Usage\"\u003eUsage\u003c/a\u003e\n\n\u003ca id=\"Features\"\u003eFeatures\n==========================\n* Creates a directory tag (bash alias) that you can use to swiftly cd to the current directory\n* The aliases can be stored in a file of your choice (soon!)\n* List all previously created aliases (soon!)\n\n\u003ca id=\"Installation\"\u003eInstallation\n==========================\nPlease note that this app only works on unix based systems! (It may work with unix shell emulators however)\n* Download the a jar file from the **Releases** tab and place in any directory\n* Enter the following command, replacing __dir__ with the path to the current directory\n\n```\n$ alias dirtag='java -jar dir/DirTag.jar'\n```\n* Add the following lines to your __~/.bash_profile__ file (or whatever file is loaded when a new bash session is started). \n```\nif [ -f ~/.dirtags ]; then\n  source ~/.dirtags\nfi\n```\n\nThis will ensure that the dirtags are loaded when a new bash session is started.\n\n\u003ca id=\"Usage\"\u003eUsage\n==========================\n* When inside a directory that you'd like to make a shortcut/dirtag to, enter the follwoing command, replacing __name__ with the tag name.\n```\n$ dirtag name\n```\n\n* Now, start a new bash session, go to a totally different directory and enter the following command, replacing __name__ with the tag name.\n```\n$ cdname\n```\n\n* You will now have changed directory!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamtebbs33%2Fdirtag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamtebbs33%2Fdirtag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamtebbs33%2Fdirtag/lists"}