Restore your dotfiles
π Installation
π Restore options
With wget:
bash <(wget -qO- https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/restorer)
With curl:
bash <(curl -s https://raw.githubusercontent.com/CodelyTV/dotly/HEAD/restorer)
Manually
- Install git
- Clone your dotfiles repository
git clone [your repository of dotfiles] $WHERE_YOU_WANT_TO_PLACE_THEM
- Go to your dotfiles folder
cd $WHERE_YOU_PLACED_THEM
- Install git submodules
git submodule update --init --recursive modules/dotly
- Install your dotfiles
DOTFILES_PATH="$WHERE_YOU_PLACED_THEM" DOTLY_PATH="$DOTFILES_PATH/modules/dotly" "$DOTLY_PATH/bin/dot" self install
- Restart your terminal
- Import your packages
dot package import
π¬ Important notes
During the installation
- Where are going to be located your dotfiles?
- press
Enter
if you ok with the default location (~/.dotfiles
) - if you want a custom location, the path should include the name of your new dotfiles folder (ex.
~/Documents/workspace/<folder_name>
), you donβt need to create it manually, if you do that, youβll get a .back folder of your empty folder
- Selecting authentication method if you are going to clone your repo using the Other git alternative, before this, you need to create an ssh key and it to your github account. For more information check this docs