{"id":20100804,"url":"https://github.com/nrjpoddar/bash-settings","last_synced_at":"2026-05-13T03:09:28.816Z","repository":{"id":95717676,"uuid":"102525656","full_name":"nrjpoddar/bash-settings","owner":"nrjpoddar","description":"Repository for bash settings","archived":false,"fork":false,"pushed_at":"2026-04-16T07:37:57.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-16T09:32:43.079Z","etag":null,"topics":["bash","bash-settings"],"latest_commit_sha":null,"homepage":null,"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/nrjpoddar.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}},"created_at":"2017-09-05T20:15:16.000Z","updated_at":"2026-04-16T07:38:01.000Z","dependencies_parsed_at":"2025-03-02T16:45:34.397Z","dependency_job_id":"2a69c067-e2d2-45a7-98be-0ccf07df4d67","html_url":"https://github.com/nrjpoddar/bash-settings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nrjpoddar/bash-settings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrjpoddar%2Fbash-settings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrjpoddar%2Fbash-settings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrjpoddar%2Fbash-settings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrjpoddar%2Fbash-settings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrjpoddar","download_url":"https://codeload.github.com/nrjpoddar/bash-settings/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrjpoddar%2Fbash-settings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32965883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"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":["bash","bash-settings"],"created_at":"2024-11-13T17:17:08.179Z","updated_at":"2026-05-13T03:09:28.809Z","avatar_url":"https://github.com/nrjpoddar.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains common bash settings useful in developer workflow.\n\n## Usage\nClone this repository and create following symlinks. (This assumes repository was\ncloned under `$HOME`)\n```bash\nln -s $HOME/bash-settings/.bash_aliases $HOME/.bash_aliases\nln -s $HOME/bash-settings/.profile $HOME/.profile\nln -s $HOME/bash-settings/.bashrc $HOME/.bashrc\nln -s $HOME/bash-settings/.bash_profile $HOME/.bash_profile\n```\n\n\n### Setting up bash-completion \u0026 Git prompt in Mac OSX\nYou need additional setup for getting the prompt working correctly in\nMac OSX:\n\n* Install brew:\n  ```bash\n    /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n  ```\n\n* Post brew install add brew to your $PATH for bash as the instructions will default to zsh:\n  ```bash\n    echo 'eval \"$(/opt/homebrew/bin/brew shellenv)\"' \u003e\u003e ~/.bash_profile\n    eval \"$(/opt/homebrew/bin/brew shellenv)\"\n  ```\n\n* Install bash-completion\n  ```bash\n    brew install bash-completion\n  ```\n* Install Git from brew\n  ```bash\n    brew install git\n  ```\n* Close and restart the terminal, your prompt will include the Git branch if the\n  current directory is a Git workspace.\n\n### Making bash your default shell\nIn newer versions of MAC OS, zsh is the default shell instead of bash. You can\nuse the following commands to switch to the latest version of bash as your\ndefault login shell.\n\n1. Install latest bash:\n   ```bash\n     brew install bash\n   ```\n1. Add newly bash to list of shells. Note that the MAC OS default bash is quite old.\n   ```bash\n     echo /opt/homebrew/bin/bash | sudo tee -a /etc/shells\n   ```\n1. Switch to bash as default login\n   ```bash\n     chsh -s /opt/homebrew/bin/bash\n   ```\n\n### Setting up direnv in Mac OSX\nInstall direnv using brew:\n```bash\n  brew install direnv\n```\nYour prompt will include the environment which is currently being used by\ndirenv.\n\n### Setting up SSH keys for Github/Gitlab\n```bash\n  ssh-keygen -t ed25519 -C \"your_email@example.com\"\n```\n\nAdd the key to SSH agent in ~/.bash_profile\n```bash\nif [ -f $HOME/.ssh/\u003cgithub/gitlab_private_key\u003e ] \u0026\u0026\n ! ssh-add -l | grep -q $HOME/.ssh/\u003cgithub/gitlab_private_key\u003e; then\n  ssh-add $HOME/.ssh/\u003cgithub/gitlab_private_key\u003e\nfi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrjpoddar%2Fbash-settings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrjpoddar%2Fbash-settings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrjpoddar%2Fbash-settings/lists"}