{"id":20354233,"url":"https://github.com/foxleigh81/unwrap-zsh-plugin","last_synced_at":"2025-04-12T02:25:45.899Z","repository":{"id":43605495,"uuid":"463671593","full_name":"foxleigh81/unwrap-zsh-plugin","owner":"foxleigh81","description":"A ZSH plugin that lets you move items into a parent directoy and then delete the original directory with a single command","archived":false,"fork":false,"pushed_at":"2025-01-29T19:04:35.000Z","size":29,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T02:25:41.263Z","etag":null,"topics":["oh-my-zsh","oh-my-zsh-plugin","shell","shell-script","zsh","zsh-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foxleigh81.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"foxleigh81","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-02-25T20:49:14.000Z","updated_at":"2025-01-29T19:04:38.000Z","dependencies_parsed_at":"2022-08-22T20:10:33.583Z","dependency_job_id":null,"html_url":"https://github.com/foxleigh81/unwrap-zsh-plugin","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/foxleigh81%2Funwrap-zsh-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxleigh81%2Funwrap-zsh-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxleigh81%2Funwrap-zsh-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxleigh81%2Funwrap-zsh-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxleigh81","download_url":"https://codeload.github.com/foxleigh81/unwrap-zsh-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506417,"owners_count":21115425,"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":["oh-my-zsh","oh-my-zsh-plugin","shell","shell-script","zsh","zsh-plugin"],"created_at":"2024-11-14T23:07:48.363Z","updated_at":"2025-04-12T02:25:45.872Z","avatar_url":"https://github.com/foxleigh81.png","language":"Shell","funding_links":["https://ko-fi.com/foxleigh81","https://ko-fi.com/I3I21FRCN"],"categories":["Plugins"],"sub_categories":["ZSH on Windows"],"readme":"# 📁 Unwrap: A plugin for ZSH\n\nThis simple plugin allows you to remove a directory without removing its contents.\n\n## Usage\n\nIn your `zsh` command line, navigate into the directory you want to unwrap,\nthen type `unwrap`. You will be given a prompt to confirm the action and if you\nconfirm, unwrap will remove the current directory and move all of its contents\ninto the parent folder.\n\n## Installation\n\nIf you are using oh-my-zsh:\n\nCopy the unwrap folder to `.oh-my-zsh/custom/plugins`, for example:\n\n```bash\ncd ~/.oh-my-zsh/custom/plugins\ngit clone git@github.com:foxleigh81/unwrap-zsh-plugin.git unwrap\n```\n\nEnable the plugin in your `.zshrc` file. Edit `~/.zshrc` to activate the plugin, for example: `plugins=(unwrap)`\nAnd restart the terminal to apply (or just type `source ~/.zshrc`).\n\n\n## Protected Directories\n\nUnwrap will not remove any directories that are in the root of your system \n(or any directory with the same name as one of those folders). Nor will it \nremove the users home directory.\n\nYou can add custom-protected directories by creating an `.unwrap` file in your\nhome directory. The file should contain a list of directories to protect.\n\nAn example of a `.unwrap` file can be found in the plugin install directory.\n\nIf your folder is not covered by the above, use `unwrap` with caution.\n\n### A warning about folder names\n\n`Unwrap` protection is case-sensitive and will not protect folders that have a space, dash\nor other special character in their name. It will, however, work fine with\nfolders that have an underscore in their name.\n\n## Support\n\nIf you like this plugin, I'm glad. I just wanted to make something useful :) However, if you wanted to buy me a coffee, I certainly won't say no.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/I3I21FRCN)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxleigh81%2Funwrap-zsh-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxleigh81%2Funwrap-zsh-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxleigh81%2Funwrap-zsh-plugin/lists"}