{"id":22813466,"url":"https://github.com/iamfirecracker/productivity","last_synced_at":"2025-09-04T00:41:12.827Z","repository":{"id":2164845,"uuid":"3110881","full_name":"iamFIREcracker/productivity","owner":"iamFIREcracker","description":"Bahs productivity scripts","archived":false,"fork":false,"pushed_at":"2012-12-15T14:02:08.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T22:13:53.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/iamFIREcracker.png","metadata":{"files":{"readme":"README.mdown","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":"2012-01-05T15:11:41.000Z","updated_at":"2014-06-22T14:56:03.000Z","dependencies_parsed_at":"2022-09-14T04:30:59.912Z","dependency_job_id":null,"html_url":"https://github.com/iamFIREcracker/productivity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamFIREcracker/productivity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamFIREcracker%2Fproductivity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamFIREcracker%2Fproductivity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamFIREcracker%2Fproductivity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamFIREcracker%2Fproductivity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamFIREcracker","download_url":"https://codeload.github.com/iamFIREcracker/productivity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamFIREcracker%2Fproductivity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273534271,"owners_count":25122636,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-12T12:42:34.249Z","updated_at":"2025-09-04T00:41:12.764Z","avatar_url":"https://github.com/iamFIREcracker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# productivity - more productivity with your bash shell\n\n## Setup\n\nClone this repository:\n\n    cd ~/workspace\n    git://github.com/iamFIREcracker/productivity.git\n\nMake sure the following lines are present inside your **.bashrc**:\n\n    # move automatically inside last used directory\n    if [ -f ~/.lastdir ]; then\n        cd \"`cat ~/.lastdir`\"\n    fi\n\n    O\n    # prompt_command callback: update directory counter, save the current directory\n    # and (optionally) list last edited files.\n    function productivity_update() {\n        local current\n\n        current=\"`pwd`\"\n        if [ \"${current}\" != \"${PRODUCTIVITY_LASTDIR}\" ]; then\n            # update directory count\n            ~/workspace/productivity/productivity.sh update \"${current}\"\n            export PRODUCTIVITY_LASTDIR=\"${current}\"\n\n            # list more recent content\n            ls -tAl | head -7\n        fi\n\n        # we need to update .lastdir because another shell could have modified it\n        # but we are the most recent process active\n        echo \"${current}\" \u003e ~/.lastdir\n    }\n\n    export PRODUCTIVITY_LASTDIR=\"`pwd`\"\n    export PROMPT_COMMAND=\"productivity_update\"\n    alias f='~/workspace/productivity/productivity.sh prompt frequently'\n    alias r='~/workspace/productivity/productivity.sh prompt recently'\n    alias p='~/workspace/productivity/productivity.sh'\n\nAdd a new job inside your **crontab** which is going to wipe off stale entries\ncontained inside the database:\n\n    * * * * 0 ~/workspace/productivity/productivity.sh damp\n\n*Voila`*\n\n## Credits\nhttp://matt.might.net/articles/console-hacks-exploiting-frequency/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamfirecracker%2Fproductivity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamfirecracker%2Fproductivity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamfirecracker%2Fproductivity/lists"}