{"id":15783503,"url":"https://github.com/andyone/dotfiles","last_synced_at":"2025-03-14T09:33:18.439Z","repository":{"id":41530684,"uuid":"94587876","full_name":"andyone/dotfiles","owner":"andyone","description":".dotfiles","archived":false,"fork":false,"pushed_at":"2024-10-09T20:38:08.000Z","size":82,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T13:15:55.722Z","etag":null,"topics":["git","tmux","zsh"],"latest_commit_sha":null,"homepage":"https://andy.one/dotfiles","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/andyone.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-06-16T23:19:56.000Z","updated_at":"2024-10-09T20:38:11.000Z","dependencies_parsed_at":"2024-04-27T16:24:51.927Z","dependency_job_id":"e6e1489b-91b3-4dcd-8be4-ed3cb3521b75","html_url":"https://github.com/andyone/dotfiles","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyone%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyone%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyone%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyone%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyone","download_url":"https://codeload.github.com/andyone/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243554554,"owners_count":20309953,"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":["git","tmux","zsh"],"created_at":"2024-10-04T19:42:06.077Z","updated_at":"2025-03-14T09:33:18.161Z","avatar_url":"https://github.com/andyone.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## `.dotfiles`\n\nA set of zsh, git, tig, and tmux configuration files.\n\n### Installation\n\n```\nbash \u003c(curl -fsSL https://andy.one/dotfiles/install.sh)\n```\n\n### Extra commands\n\n| Name | Description |\n|------|-------------|\n| `tx` | Start or attach to TMUX session |\n| `txn {name}` | Rename current pane |\n| `txc` | Rename current TMUX window to short path to current directory |\n| `sshk …` | `ssh` command without checking and saving host key |\n| `ssht …` | `sshk` to many hosts at once (_requires TMUX session_) |\n| `scpk …` | `scp` command without checking and saving host key |\n| `dl …` | Download one or more files using `curl` |\n| `e …` | Editor (_nano_) shortcut |\n| `b …` | [`bat`](https://github.com/sharkdp/bat) shortcut |\n| `g …` | `grep` shortcut |\n| `d …` | Docker shortcut |\n| `dr …` | Docker `run` shortcut |\n| `de …` | Docker `exec` shortcut |\n| `hf …` | `grep` over zsh history |\n| `goc` | Create HTML coverage report for Go sources |\n| `gcl {org}/{repo}` | Clone repository with Go sources |\n| `bkp {file}` | Create backup for file or directory |\n| `flat {file}` | Print flatten list of records |\n| `git release {version}` | Add signed version tag for the latest commit to the master branch |\n| `git tag-delete {tag}` | Delete tag everywhere |\n| `git tag-update {tag}` | Update tag to the latest commit |\n| `git pr {pr}` | Fetch PR with given ID from GitHub |\n| `git undo` | Undo previous commit |\n\n### Git aliases\n\n| Alias | Original   |\n|-------|------------|\n| `st`  | `status`   |\n| `ci`  | `commit`   |\n| `br`  | `branch`   |\n| `co`  | `checkout` |\n| `df`  | `diff`     |\n| `dfi` | `icdiff`   |\n| `lg`  | `log`      |\n\n### Tmux hotkey cheatsheet\n\n| Hotkey | Action |\n|--------|--------|\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e | Prefix key |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eT\u003c/kbd\u003e | Toggle panes names |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eZ\u003c/kbd\u003e | Toggle pane zoom |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eQ\u003c/kbd\u003e | Show session tree |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eL\u003c/kbd\u003e | Clear terminal |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eT\u003c/kbd\u003e | Show current time |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eС\u003c/kbd\u003e | Create new window |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eR\u003c/kbd\u003e | Rearrage windows |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eW\u003c/kbd\u003e | List windows |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003e\\|\u003c/kbd\u003e | Split window vertically |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003e\\-\u003c/kbd\u003e | Split window horizontaly |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003e,\u003c/kbd\u003e | Set window name |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eN\u003c/kbd\u003e | Next window |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eP\u003c/kbd\u003e | Previous window |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eA\u003c/kbd\u003e | Toggle panes syncing |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003e←\u003c/kbd\u003e | Move current window to the left (_reorder windows_) |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003e→\u003c/kbd\u003e | Move current window to the right (_reorder windows_) |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eQ\u003c/kbd\u003e | Show pane numbers |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eX\u003c/kbd\u003e | Kill pane |\n| \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e←\u003c/kbd\u003e | Select pane on the left |\n| \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e→\u003c/kbd\u003e | Select pane on the right |\n| \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e↑\u003c/kbd\u003e | Select upper pane |\n| \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e↓\u003c/kbd\u003e | Select bottom pane |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eSpace\u003c/kbd\u003e | Set panes layout |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e1\u003c/kbd\u003e | Set panes layout to layout 1 |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e2\u003c/kbd\u003e | Set panes layout to layout 2 |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e3\u003c/kbd\u003e | Set panes layout to layout 3 |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e4\u003c/kbd\u003e | Set panes layout to layout 4 |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e5\u003c/kbd\u003e | Set panes layout to layout 5 |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003eALT\u003c/kbd\u003e+\u003ckbd\u003e6\u003c/kbd\u003e | Set panes layout to layout 6 |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003ePgUp\u003c/kbd\u003e | Scroll up |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eB\u003c/kbd\u003e → \u003ckbd\u003ePgDn\u003c/kbd\u003e | Scroll down |\n| \u003ckbd\u003eF1\u003c/kbd\u003e | Select window #1 |\n| \u003ckbd\u003eF2\u003c/kbd\u003e | Select window #2 |\n| \u003ckbd\u003eF3\u003c/kbd\u003e | Select window #3 |\n| \u003ckbd\u003eF4\u003c/kbd\u003e | Select window #4 |\n| \u003ckbd\u003eF5\u003c/kbd\u003e | Select window #5 |\n| \u003ckbd\u003eF6\u003c/kbd\u003e | Select window #6 |\n| \u003ckbd\u003eF7\u003c/kbd\u003e | Select window #7 |\n| \u003ckbd\u003eF8\u003c/kbd\u003e | Select window #8 |\n| \u003ckbd\u003eF9\u003c/kbd\u003e | Select window #9 |\n| \u003ckbd\u003eF10\u003c/kbd\u003e | Select window #10 |\n| \u003ckbd\u003eF11\u003c/kbd\u003e | Select window #11 |\n| \u003ckbd\u003eF12\u003c/kbd\u003e | Kill current window |\n| \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e | History search with [fzf](https://github.com/junegunn/fzf) |\n\n_For function keys support in XShell 5+ you should use custom [mappings file](xshell.tkm)._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyone%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyone%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyone%2Fdotfiles/lists"}