{"id":28484059,"url":"https://github.com/mohamedelashri/shell-timestamp","last_synced_at":"2026-04-12T11:44:43.306Z","repository":{"id":297665250,"uuid":"997529485","full_name":"MohamedElashri/shell-timestamp","owner":"MohamedElashri","description":"timestemping commands in shell history","archived":false,"fork":false,"pushed_at":"2025-06-06T17:30:52.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-06T18:33:05.520Z","etag":null,"topics":["bash","bashrc","history-management","shell","zsh","zshrc"],"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/MohamedElashri.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-06T17:27:03.000Z","updated_at":"2025-06-06T17:31:48.000Z","dependencies_parsed_at":"2025-06-06T18:45:00.559Z","dependency_job_id":null,"html_url":"https://github.com/MohamedElashri/shell-timestamp","commit_stats":null,"previous_names":["mohamedelashri/shell-timestamp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MohamedElashri/shell-timestamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohamedElashri%2Fshell-timestamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohamedElashri%2Fshell-timestamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohamedElashri%2Fshell-timestamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohamedElashri%2Fshell-timestamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MohamedElashri","download_url":"https://codeload.github.com/MohamedElashri/shell-timestamp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohamedElashri%2Fshell-timestamp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262608631,"owners_count":23336540,"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":["bash","bashrc","history-management","shell","zsh","zshrc"],"created_at":"2025-06-07T22:06:19.522Z","updated_at":"2025-10-24T15:48:36.580Z","avatar_url":"https://github.com/MohamedElashri.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell History Timestamper\n\nThis utility script enables or disables timestamped command history for Bash and Zsh shells. It does so by managing a single `.history_config` file in your home directory and ensuring your shell configuration files (`.bashrc` and `.zshrc`) source it.\n\n## What It Does\n\n- Ensures every command you run in Bash or Zsh is saved with an execution timestamp.\n- Keeps your shell configuration clean by isolating all related settings in `.history_config`.\n- Makes activation and removal fully reversible and idempotent.\n\n## Usage\n\n1. Download and make the script executable:\n    ```sh\n    chmod +x shell-timestamp.sh\n    ```\n\n2. To **enable** timestamped history, run:\n    ```sh\n    ./shell-timestamp.sh install\n    ```\n\n3. To **disable** and fully remove the configuration, run:\n    ```sh\n    ./shell-timestamp.sh uninstall\n    ```\n\n4. After installing or uninstalling, **restart your shell** or run:\n    ```sh\n    source ~/.bashrc\n    ```\n    or\n    ```sh\n    source ~/.zshrc\n    ```\n    to apply changes immediately.\n\n## Notes\n\n- The script will not overwrite your existing shell configuration or history settings; it only adds or removes a dedicated sourcing block and config file.\n- Existing history files are not modified; only new history entries will include timestamps after installation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamedelashri%2Fshell-timestamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamedelashri%2Fshell-timestamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamedelashri%2Fshell-timestamp/lists"}