{"id":27004448,"url":"https://github.com/tacc/shellstartupdebug","last_synced_at":"2025-10-15T04:44:45.944Z","repository":{"id":12303716,"uuid":"14934983","full_name":"TACC/ShellStartupDebug","owner":"TACC","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-27T21:29:56.000Z","size":211,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-08-07T16:41:01.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/TACC.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":"2013-12-04T20:29:42.000Z","updated_at":"2025-06-27T21:30:00.000Z","dependencies_parsed_at":"2024-05-22T21:41:02.134Z","dependency_job_id":"c6844e79-6fb7-44c0-8e6a-bdae1fef0488","html_url":"https://github.com/TACC/ShellStartupDebug","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/TACC/ShellStartupDebug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FShellStartupDebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FShellStartupDebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FShellStartupDebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FShellStartupDebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TACC","download_url":"https://codeload.github.com/TACC/ShellStartupDebug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2FShellStartupDebug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279049963,"owners_count":26093390,"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-10-15T02:00:07.814Z","response_time":56,"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":"2025-04-04T06:16:51.193Z","updated_at":"2025-10-15T04:44:45.930Z","avatar_url":"https://github.com/TACC.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell Startup Debug\n\nTo trace the behavior of the startup scripts on your system use\nshell_startup_debug.\n\nOnce installed, any user can create a file (`~/.init.sh` for bash, zsh, etc) and\n(`~/.init.csh` for csh and tcsh) that will turn on the report of the startup\nbehavior.\n\nBash/Zsh users: Please put in `~/.init.sh`:\n\n```\n   export SHELL_STARTUP_DEBUG=1\n```\n\nTcsh/Csh users: Please put in `~/.init.csh`:\n\n```\n   setenv SHELL_STARTUP_DEBUG 1\n```\n\nA bash user will see something like the following for output:\n\n```\n   /etc/profile{\n      /etc/profile.d/bash_completion.sh{\n      } Time = 0.0550                      (delta = 0.0550)\n      /etc/profile.d/lmod.sh{\n      } Time = 0.0770                      (delta = 0.0220)\n      /etc/profile.d/modules.sh{\n      } Time = 0.0997                      (delta = 0.0227)\n      /etc/profile.d/z99_PrgEnv.sh{\n      } Time = 0.2067                      (delta = 0.1030)\n      /etc/bash.bashrc{\n      } Time = 0.2338                      (delta = 0.0271)\n    } Time = 0.2442                        (delta = 0.0104)\n```\n\nIf you wish to create a file instead of writing to standard out, change the value for SHELL_STARTUP_DEBUG\nto 3 in the bash or zsh shell: \n\n```\n   export SHELL_STARTUP_DEBUG=3\n```\n\nThere will be a separate file for each shell invocation.\n\n\nFor users wishing to track a particular environment variable through the startup process can do can add\n\n```\n   export SHELL_STARTUP_DEBUG_PRINT_LIST=\"var1:var2:var3\"\n```\n\nto your ~/.init.sh file where var1 etc are the variables you wish to track. For example one might like\nto track the PATH and MODULEPATH variables through startup:\n\n```\n   export SHELL_STARTUP_DEBUG_PRINT_LIST=\"PATH:MODULEPATH\"\n```\n\nIn this case the state of each variable is printed out after every '}' if it has a value.\n\nSee INSTALL for instructions.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacc%2Fshellstartupdebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftacc%2Fshellstartupdebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacc%2Fshellstartupdebug/lists"}