Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denisidoro/dotfiles
Awesome personal dotfiles
https://github.com/denisidoro/dotfiles
bash dotfiles editors git hacktoberfest navi scripts tasker termux vim vscode wm zsh
Last synced: 3 months ago
JSON representation
Awesome personal dotfiles
- Host: GitHub
- URL: https://github.com/denisidoro/dotfiles
- Owner: denisidoro
- Created: 2017-01-07T14:42:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T11:01:17.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T13:47:34.059Z (3 months ago)
- Topics: bash, dotfiles, editors, git, hacktoberfest, navi, scripts, tasker, termux, vim, vscode, wm, zsh
- Language: Shell
- Homepage:
- Size: 1.03 MB
- Stars: 172
- Watchers: 6
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- jimsghstars - denisidoro/dotfiles - Awesome personal dotfiles (Shell)
README
denisidoro/dotfiles
Awesome personal dotfiles
Installation
Shell
Scripts
Git
Docs## Full installation
```bash
# with homebrew or linuxbrew
brew install denisidoro/tools/dotfiles
dot self install# with curl
bash <(curl -s https://raw.githubusercontent.com/denisidoro/dotfiles/master/scripts/self/install)# with wget
bash <(wget -qO- https://raw.githubusercontent.com/denisidoro/dotfiles/master/scripts/self/install)# with git
export DOTFILES="${HOME}/dotfiles"
git clone https://github.com/denisidoro/dotfiles "$DOTFILES"
"${DOTFILES}/bin/dot" self install
```## Using in shell scripts
```bash
dot::clone() {
git clone https://github.com/denisidoro/dotfiles "$DOTFILES"
}dot::clone_if_necessary() {
[ -n "${DOTFILES:-}" ] && [ -x "${DOTFILES}/bin/dot" ] && return
export DOTFILES="${HOME}/dotfiles"
$(dot::clone >/dev/null || true)
}dot::source() {
dot::clone_if_necessary
source "${DOTFILES}/scripts/core/main.sh"
}dot::source
```## Calling scripts
There's a single entry point for most scripts, which is the `dot` command:
```bash
dot [...] # example: dot rice pipes
```## Documentation
Some scripts are documented in [/docs](docs). For all other scripts, run:
```bash
dot --help # example: dot rice pipes --help
```## Shell startup performance
```bash
$ dot shell zsh benchmark
Benchmark #1: /usr/bin/time /bin/zsh -i -c exit
Time (mean ± σ): 35.6 ms ± 3.0 ms [User: 14.0 ms, System: 16.0 ms]
Range (min … max): 32.7 ms … 48.8 ms 67 runs
```## Template
In order to setup your own dotfiles, I recommend using [dotly](https://github.com/CodelyTV/dotly) or [Sloth](https://github.com/gtrabanco/.Sloth), which are frameworks inpired by this repository.