Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibhagwan/dots
dots
https://github.com/ibhagwan/dots
Last synced: 5 days ago
JSON representation
dots
- Host: GitHub
- URL: https://github.com/ibhagwan/dots
- Owner: ibhagwan
- Created: 2020-01-17T03:15:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-27T03:16:15.000Z (about 2 months ago)
- Last Synced: 2024-10-26T20:39:39.177Z (19 days ago)
- Language: Shell
- Size: 158 KB
- Stars: 59
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## dots
#### NOTE: This repo excludes my neovim config which can be found [here](https://github.com/ibhagwan/nvim-lua)
### Deployment
This repo is managed using a
[git bare repo](https://www.atlassian.com/git/tutorials/dotfiles)
and deployed using
[`dots/install.sh`](https://github.com/ibhagwan/dots/blob/master/dots/install.sh):```sh
# clones this repository into "$HOME"
❯ git clone https://github.com/ibhagwan/dots.git $HOME/dots
# deploys the files in this repository into "$HOME"
❯ ./dots/install.sh
```An alias named `dot` will be created:
```sh
alias dot="git -c status.showUntrackedFiles=no --git-dir=${YADM_REPO} -C ${HOME}"
```Which you can use to manage your dot files as if it was `git`:
```sh
❯ dot status # git status
❯ dot pull --rebase # git pull --rebase
```### Fzf Customizations
[`fzf`](https://github.com/junegunn/fzf) customizations inspired by
[@junegunn's git functions](https://github.com/junegunn/fzf-git.sh) are installed by
[`fzf_git_functions.sh`](https://github.com/ibhagwan/dots/blob/master/.config/zsh/fzf_git_functions.sh) and
[`fzf_git_keybindings.sh`](https://github.com/ibhagwan/dots/blob/master/.config/zsh/fzf_git_keybindings.zsh)
which add the below keybinds to the shell:| Key | Command |
| ----------| ------------------|
| `` | cd directory |
| `` | cmd history |
| `` | find paths |
| `` | "live" grep |If the pwd is inside a git repo, the following binds are available:
| Key | Command | Key | Command |
| ----------| ------------------| ----------| ---------------------|
| `` | git ls-files | `` | git stashes |
| `` | git branches | `` | git hashes (commits) |
| `` | git grep | `` | git remtoes |
| `` | git tags | `` | git for-each-ref |
| `` | git reflogs | `` | git worktrees |And the same for the `yadm` dot files repo with `` prefix:
| Key | Command | Key | Command |
| ----------| ------------------| ----------| ---------------------|
| `` | yadm ls-files | `` | yadm stashes |
| `` | yadm branches | `` | yadm hashes (commits)|
| `` | yadm grep | `` | yadm remtoes |
| `` | yadm tags | `` | yadm for-each-ref |
| `` | yadm reflogs | `` | yadm worktrees |### rEFInd
If you're looking for my rEFInd setup as shown
[here](https://www.reddit.com/r/unixporn/comments/ff0o8d/refind_which_kernel_are_you_feeling_like_today/):**Note:** I've since installed Void Linux (side-by-side with the rest of the OS's), [`refind.conf`](https://github.com/ibhagwan/dots/blob/master/dots/refind/refind.conf) reflects the new setup.
![rEFInd](https://github.com/ibhagwan/dots/raw/master/dots/screenshots/rEFInd.png)