- Notifications
You must be signed in to change notification settings - Fork12
denisidoro/dotfiles
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Installation Shell Scripts Git Docs
# with homebrew or linuxbrewbrew install denisidoro/tools/dotfilesdot self install# with curlbash<(curl -s https://raw.githubusercontent.com/denisidoro/dotfiles/master/scripts/self/install)# with wgetbash<(wget -qO- https://raw.githubusercontent.com/denisidoro/dotfiles/master/scripts/self/install)# with gitexport DOTFILES="${HOME}/dotfiles"git clone https://github.com/denisidoro/dotfiles"$DOTFILES""${DOTFILES}/bin/dot" self install
dot::clone() { git clone https://github.com/denisidoro/dotfiles"$DOTFILES"}dot::clone_if_necessary() { [-n"${DOTFILES:-}" ]&& [-x"${DOTFILES}/bin/dot" ]&&returnexport DOTFILES="${HOME}/dotfiles"$(dot::clone>/dev/null|| true)}dot::source() { dot::clone_if_necessarysource"${DOTFILES}/scripts/core/main.sh"}dot::source
There's a single entry point for most scripts, which is thedot
command:
dot<ctx><cmd> [<args>...]# example: dot rice pipes
Some scripts are documented in/docs. For all other scripts, run:
dot<ctx><cmd> --help# example: dot rice pipes --help
$ dot shell zsh benchmarkBenchmark#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
In order to setup your own dotfiles, I recommend usingdotly orSloth, which are frameworks inpired by this repository.