{"id":15813769,"url":"https://github.com/bearbobs/mac-dotfiles","last_synced_at":"2025-04-21T08:31:53.494Z","repository":{"id":99099792,"uuid":"591279936","full_name":"Bearbobs/mac-dotfiles","owner":"Bearbobs","description":"Base macos setup dotfiles with terminal, vim and tmux config. Tested on m1, m1 pro and m2","archived":false,"fork":false,"pushed_at":"2023-01-27T11:24:21.000Z","size":252,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-06T04:05:26.176Z","etag":null,"topics":["brew","dotbot","dotfiles","dotfiles-macos","iterm2","tmux","vim"],"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/Bearbobs.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":"2023-01-20T11:20:10.000Z","updated_at":"2024-04-05T14:10:59.000Z","dependencies_parsed_at":"2023-06-03T19:45:09.959Z","dependency_job_id":null,"html_url":"https://github.com/Bearbobs/mac-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/Bearbobs%2Fmac-dotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fmac-dotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fmac-dotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearbobs%2Fmac-dotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bearbobs","download_url":"https://codeload.github.com/Bearbobs/mac-dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250023541,"owners_count":21362419,"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":["brew","dotbot","dotfiles","dotfiles-macos","iterm2","tmux","vim"],"created_at":"2024-10-05T04:05:38.892Z","updated_at":"2025-04-21T08:31:53.161Z","avatar_url":"https://github.com/Bearbobs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\nMissing feature? 🍴 Fork this repo and make it better!\n\n## Installation\n\nTell Git who you are using these commands:\n\n```sh\ngit config -f ~/.gitlocal user.email \"email@yoursite.com\"\ngit config -f ~/.gitlocal user.name \"Name Lastname\"\n```\n\n## Under the hood\n\n\u003e **Note:** You may put your custom settings into `~/.zshlocal`.\n\n### Projects tree\n\nI suggest you to organize project folder as follows:\n\n```\n~/Projects\n├── Forks       # for GitHub fork\n├── Job         # for job projects\n├── Playground  # for short-term experiments\n└── Repos       # for long-term projects\n```\n\n### Aliases\n\nAliases are gonna make your work fast and enjoyable. See code in `$DOTFILES/lib/aliases.zsh`. Here is what's included:\n\n- Aliases from Oh-My-Zsh. See [Oh-My-Zsh Cheatsheet](https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet#commands) for more.\n- Easier navigation\n  - **`..`** → `cd ..`\n  - **`...`** → `cd ../..`\n  - **`....`** → `cd ../../..`\n  - **`.....`** → `cd ../../../..`\n  - **`~`** → `cd ~`\n  - **`-`** → `cd -`\n- Folders shortcuts\n  - **`dl`** → `cd ~/Downloads`\n  - **`dt`** → `cd ~/Desktop`\n  - **`pj`** → `cd ~/Projects`\n  - **`pjr`** → `cd ~/Projects/_Repos`\n  - **`pjf`** → `cd ~/Projects/_Forks`\n  - **`pl`** → `cd ~/Projects/_Playground/`\n- Commands Shortcuts\n  - **`e`** → `$EDITOR`\n  - **`+x`** → `chmod +x`\n  - **`x+`** → `chmod +x`\n  - **`ll`** → `ls -alF`\n  - **`la`** → `ls -A`\n  - **`l`** → `ls -CF`\n- Open\n  - **`open \u003cFILE\u003e`** — open file from terminal.\n  - **`o \u003cFILE\u003e`** — open file from terminal.\n  - **`oo`** — open current folder.\n- Misc\n  - **`update`** — get updates (Runs `$DOTFILES/scripts/update.zsh`).\n  - **`dotfiles`** — jump quickly into dotfiles folder.\n  - **`myip`** — my local IP address.\n  - **`password`** — generate random password, copies it into clipboard and outputs it to terminal.\n  - **`path`** — print $PATH in readable view.\n  - **`getpage`** — download web page with all assets.\n  - **`get`** — download file with original filename.\n\n### Bin\n\nDotfiles also include some functions that will make your life easier. See code in [`bin/`](./bin).\n\n- `emptytrash` — empty the Trash on all mounted volumes and the main HDD.\n- `git-cleanup` — removes old Git branches and does other cleanup.\n- `git-fork` — add remote upsteam.\n- `git-upstream` — sync branch with upstream.\n- `gz` — get gzipped file size\n- `n` — runs given command using binary in `node_modules/.bin` of the current project.\n- `nyan` — print [nyan cat](https://www.youtube.com/watch?v=QH2-TGUlwu4).\n- `server` — start an HTTP server from a directory.\n\n### Git\n\n\u003e **Note:** Add your git user data and custom settings to `~/.gitlocal`.\n\n#### Git Aliases\n\n- **`git a`** → `git add` — patch mode for specified files.\n- **`git ua`** → `git reset HEAD` — unstage files.\n- **`git b`** → `git branch` — list, create, or delete branches.\n- **`git c`** → `git commit` — record changes to the repository.\n- **`git co`** → `git checkout` — checkout a branch or paths to the working tree.\n- **`git ap`** → `git add -p` — add file contents to the index.\n- **`git ca`** → `git commit -a` — commit with automatically stage files that have been modified and deleted.\n- **`git cm`** → `git commit -m` — commit with commit message.\n- **`git cam`** → `git commit -am` — add all files and commit with message.\n- **`git s`** → `git status -sb` — short status with current branch.\n- **`git master`** — go to `master` branch and pull from remote.\n- **`git develop`** — go to `develop` branch and pull from remote.\n- **`git git`** — do not complain about `git git`.\n- **`git l`** — commits log with pretty single line format.\n- **`git ll`** — log with list of changed files for each commit.\n- **`git ignore`** — ignore files: append file to `.gitignore`.\n- **`git this`** — initialize, add all files and commit.\n- **`git amend`** — amend last commit.\n- **`git redo`** — amend last commit with its original message.\n- **`git undo`** → `reset --mixed HEAD^` — reset index changes, but not the working tree.\n- **`git discard`** → `checkout --` — discard changes.\n- **`git contrib`** — list of contributors and how many commits each person has.\n- **`git today`** — see how many lines of code you have written today.\n- **`git stat`** — how many lines of code in repo.\n- **`git sync`** — pull and push changes from/to remote.\n- **`git-root`** — go to repo root.\n- **`git-cleanup [--force]`** — removes old Git branches.\n- **`git-fork \u003coriginal-author\u003e`** — add remote upstream.\n- **`git-upstream [branch]`** — sync branch with upstream (as default `master`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearbobs%2Fmac-dotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearbobs%2Fmac-dotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearbobs%2Fmac-dotfiles/lists"}