{"id":17912798,"url":"https://github.com/micro-hawk/bash-insulter","last_synced_at":"2026-03-19T02:26:41.309Z","repository":{"id":111662773,"uuid":"281333936","full_name":"micro-hawk/Bash-Insulter","owner":"micro-hawk","description":"Randomly insults the user when typing aything wrong :)","archived":false,"fork":false,"pushed_at":"2020-08-07T18:04:33.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T12:41:45.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/micro-hawk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-21T07:59:20.000Z","updated_at":"2022-06-11T17:46:21.000Z","dependencies_parsed_at":"2023-05-25T06:15:42.206Z","dependency_job_id":null,"html_url":"https://github.com/micro-hawk/Bash-Insulter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/micro-hawk/Bash-Insulter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micro-hawk%2FBash-Insulter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micro-hawk%2FBash-Insulter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micro-hawk%2FBash-Insulter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micro-hawk%2FBash-Insulter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micro-hawk","download_url":"https://codeload.github.com/micro-hawk/Bash-Insulter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micro-hawk%2FBash-Insulter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29369390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-28T19:47:06.937Z","updated_at":"2026-02-12T15:03:37.414Z","avatar_url":"https://github.com/micro-hawk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# bash-insulter\nRandomly insults the user when typing wrong command.\n\nChange insults as needed :)\n\n```bash\nnoob@bender:~ $ sl\n\n  Y u no speak computer???\n\n-bash: sl: command not found\nnoob@bender:~ $ gti status\n\n  This is why nobody likes you.\n\n-bash: gti: command not found\nnoob@bender:~ $ sp aux\n\n  Go outside.\n\n-bash: sp: command not found\n```\n\n# Compatibility\n* Bash v4 and newer\n* ZSH\n\n# Installation\n\n    # Method 1 - know what you are doing\n    git clone https://github.com/micro-hawk/bash-insulter.git bash-insulter\n    sudo cp bash-insulter/src/bash.command-not-found /etc/\n\nThen source the file automatically for new logins by adding the following to `/etc/bash.bashrc` or any of the other locations where you can configure your shell automatically during login:\n```\nif [ -f /etc/bash.command-not-found ]; then\n    . /etc/bash.command-not-found\nfi\n```\nLogin again and type some invalid commands for the effects to be visible.\n\nNote: You will have to add the script to `.zshrc` if you are using `zsh`\n\n# Configuration\nbash-insulter can be customized, or even be made polite and nice, by populating `CMD_NOT_FOUND_MSGS` or `CMD_NOT_FOUND_MSGS_APPEND` environment variables. The values should be arrays. `CMD_NOT_FOUND_MSGS` replaces the default messages, while `CMD_NOT_FOUND_MSGS_APPEND` appends more messages to the existing ones.\n\nIt is probably cleanest to source a file populating the environment variable as needed. In this example I create a file `/etc/bash.command-not-found-messages` with the following content:\n\n    CMD_NOT_FOUND_MSGS=(\n        \"You are so smart!\"\n        \"You look pretty today!\"\n        \"I don't know what to say\"\n    )\n    \nThen source this file before you source the script:\n```\nif [ -f /etc/bash.command-not-found-messages ]; then\n    . /etc/bash.command-not-found-messages\nfi\n\nif [ -f /etc/bash.command-not-found ]; then\n    . /etc/bash.command-not-found\nfi\n```\n\nThen logout and in again. The end result is that you will now use your messages instead of the default ones.\n\n\n# Thanks\n   ###### $-\u003eMICROHAWK\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicro-hawk%2Fbash-insulter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicro-hawk%2Fbash-insulter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicro-hawk%2Fbash-insulter/lists"}