{"id":18070047,"url":"https://github.com/polatengin/dotfiles","last_synced_at":"2026-01-07T10:45:10.404Z","repository":{"id":144742053,"uuid":"262832224","full_name":"polatengin/dotfiles","owner":"polatengin","description":"Engin Polat's dotfiles repository","archived":false,"fork":false,"pushed_at":"2024-06-06T00:10:49.000Z","size":743,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T18:56:17.618Z","etag":null,"topics":["bash","dotfiles","git","shell"],"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/polatengin.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":"2020-05-10T16:47:38.000Z","updated_at":"2024-06-06T00:10:52.000Z","dependencies_parsed_at":"2024-06-06T01:29:00.428Z","dependency_job_id":"ea0b8b56-a76d-4128-a62a-74063ed16396","html_url":"https://github.com/polatengin/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polatengin%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polatengin%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polatengin%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polatengin%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polatengin","download_url":"https://codeload.github.com/polatengin/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246148789,"owners_count":20731241,"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","dotfiles","git","shell"],"created_at":"2024-10-31T08:23:57.788Z","updated_at":"2026-01-07T10:45:10.349Z","avatar_url":"https://github.com/polatengin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What are DotFiles\n\n![DotFiles](./assets/title-dotfiles.png \"DotFiles\")\n\n*DotFiles* (files with dot `.` at the beginning of their names, such as, *.bash_aliases*, *.bash_profile*, etc.) are basically text-based configuration files.\n\n\u003e The legend goes that dot-files arose from a bug in the earliest days of UNIX: in an effort to avoid listing the . and .. entries of a directory, the ls command skipped files that began with the '.' character.\nAs a result, any file with a name beginning with '.' was not reported by ls, i.e. it was a \"hidden\" file.\nA user's home directory was a convenient place to put user-specific configuration files, but such files were also an eyesore; one popular solution to this problem was to make those configuration files hidden so that they wouldn't annoy the user.\nThus, the tradition of dot-files was born.\n\nYou can use my `dotfiles` by executing following command on Terminal\n\n```bash\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/polatengin/dotfiles/master/install.sh)\"\n```\n\nIf you want to provide git username, email and gpg_key during configure, you can execute the following command\n\n```bash\ncurl https://raw.githubusercontent.com/polatengin/dotfiles/master/install.sh | bash -s -- ${GIT_USERNAME} ${GIT_EMAIL} ${GPG_KEY}\n```\n\nIn the [.bash_aliases](./.bash_aliases) file, you can find some aliases for _Bash_.\n\nIf you want to grab your _internal_ or _external_ IP address, every time you need to run following commands on _Terminal_\n\n```bash\n# Internal IP\nifconfig | grep -Eo 'inet (addr:)?([0-9]*\\.){3}[0-9]*' | grep -Eo '([0-9]*\\.){3}[0-9]*' | grep -v '127.0.0.1'\n\n# External IP\ndig +short myip.opendns.com @resolver1.opendns.com\n```\n\nIf you want to test your internet speed with _100Mb_ of file, you can use web pages, such as [SpeedTest by Ookla](https://www.speedtest.net/), or you can run following command on _Terminal_\n\n```bash\nwget -O /dev/null http://speed.transip.nl/100mb.bin\n```\n\n![SpeedTest Screenshot](./assets/speedtest.gif \"SpeedTest Screenshot\")\n\nAlso, by default, _Bash_ will tell _Terminal_ window to display `username@computername current_directory_from_root$` at the beginning of the command line.\n\n![Default Bash Prompt](./assets/bash-0.png \"Default Bash Prompt\")\n\nIf you want to change this pattern you need to change global `PS1` variable.\n\nIn the [.bash_profile](./.bash_profile) file, you can find couple of helper methods and exposed `PS1` variable to make it `➜ current_directory_name $`\n\nOther than that, with the helper methods, it can understand if you're in a _git_ folder and parse the current _git branch_.\n\nAlso, it can understand if the current _git branch_ has some changes didn't pushed to the repo yet and add `✗` character at the end.\n\n![Modified Bash Prompt](./assets/bash-1.png \"Modified Bash Prompt\")\n\n## References\n\n[What are dotfiles](https://www.quora.com/What-are-dotfiles)\n\n[Git Status Documentation](https://git-scm.com/docs/git-status)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolatengin%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolatengin%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolatengin%2Fdotfiles/lists"}